| rFromWilcox | R Documentation |
Calculation based on Rosenthal's formula (1994). N stands for the number of measurements.
rFromWilcox(wilcoxModel, N)
wilcoxModel |
the Wilcox model |
N |
number of measurements in the experiment |
Invisibly returns a list with components:
r: effect size as a numeric scalar.
z: corresponding z-statistic.
text: character string that is also sent to the console.
set.seed(1)
d <- data.frame(
group = rep(c("A", "B"), each = 10),
value = rnorm(20)
)
w <- stats::wilcox.test(value ~ group, data = d, exact = FALSE)
rFromWilcox(w, N = nrow(d))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.