I have an experiment in which I am calling wilcox.test in r for multiple times and gather statistic output. I compute the average of these statistics and then I want to convert it to p-value. What function should I call in r to get statistic of wilcox test as input and take a p-value as output?
wilcox.statistics <- 692304.08
wilcox.pvalue <- whatFunction(wilcox.statistics) ???
I don't know what function you are using to get the statistic, but if you run
wilcox.test
Output:
You can get the statistic and the p.value inside the output list, and depending on your goal you can extract them or even use a package like
broom
:Output: