如何使用wilcoxen测试显示框线图之间的成对比较

问题描述

我想画一个图,用威尔考克森检验显示箱形图之间的成对比较

我用以下代码编写了一个代码,其中只有一个用星号代表所有有效值和非有效值的方括号,以某种方式无法清楚地说明重要性水平

gg1

geom_boxplot()+

geom_signif(比较= list(c(“森林边缘”,“森林”),

                             c("Forest edge","Logged forest"),c("Forest edge","Palm plantation"),c("Forest",c("Logged forest","Palm plantation")),map_signif_level=TRUE,test = "wilcox.test")+

stat_compare_means(method =“ kruskal”,label.y = 630)enter image description here

如果有人可以提出一些解决问题的代码,我将不胜感激

解决方法

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

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

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

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...