在对我的数据执行rstatix::wilcox_test()之后,我自动添加了y.position值,以便使用rstatix::add_xy_position()绘制p值。rstatix的文档表明,按max默认设置计算的y.position值应该等于max(data$Response) = 0.00008556344,而不是零。我是不是不正确地使用这些函数?library(tidyverse)library(ggpubr)
data <
我很难使用ggplot将p值放置在rstatix的y轴上的正确位置。我可以让包作者的上提供的示例工作得很好,但是当我更改值时,位置是不正确的。以下是工作版本:library(rstatix)
##Example provided by the package author which works correctly
当我尝试执行levene_test()时,我以前做的事情没有问题,现在我得到了以下错误:levene_test(brady ~ group)
x Problem with `filter()` input `..1`.i Input `..1` is `.data$term != ""`.
i Input `data` is