kruskal_Wilcox_pval | R Documentation |
P-value of Wilcoxon of Kruskal-Wallis test
kruskal_Wilcox_pval(y, g, pvdigits = 4)
y |
Response variable. |
g |
Grouping variable. |
pvdigits |
number of digits for the p-value. |
p-value of Wilcoxon test (when comparing two groups) or Kruskal-Wallis test (when comparing more than two groups).
df <- data.frame(g=gl(3,10),y=runif(30))
kruskal_Wilcox_pval(df$y,df$g,pvdigits=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.