使用eulerr用百分比和分数小数绘制欧拉图

问题描述

我正在尝试绘制欧拉图,其中包含与队列总数相关的计数和计数百分比(n = 1615)。我编写了以下代码

plot(euler(c(
  "LUTS"=98,"Symptoms of UTI"=46,"Positive urine culture"=39,"Symptoms of UTI&LUTS"=33,"LUTS&Positive urine culture"=24,"Symptoms of UTI&Positive urine culture"=22,"Symptoms of UTI&LUTS&Positive urine culture"=18),input = "union",shape = "ellipse"),key = TRUE,counts = TRUE,quantities = list(type = c("counts","percent"),font=3,round=2,cex=0.8),fills =list(fill=c(viridis::plasma(n = 3))),alpha = 0.3,c("#1957FF","#FF750C","#FF220C"),edges=list(lty = 1),factor_names = TRUE,labels=list(font=2,cex=1),legend = FALSE)

,并有望获得关注

enter image description here

如何用自定义百分比替换百分比,例如是“ 59(3.65%)”而不是“ 59(48%)”? 预先谢谢你。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...