问题描述
我正在尝试绘制欧拉图,其中包含与队列总数相关的计数和计数百分比(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)
,并有望获得关注 如何用自定义百分比替换百分比,例如是“ 59(3.65%)”而不是“ 59(48%)”? 预先谢谢你。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)