R provides functions for carrying out Mann-Whitney U, Wilcoxon Signed Rank, Kruskal Wallis, and Friedman tests.
wilcox.test(y~A)
제공
wilcox.test(y,x) 제공
wilcox.test(y1,y2,paired=TRUE) 제공
kruskal.test(y~A) 제공
friedman.test(y~A|B)
제공
For the wilcox.test you can use the alternative="less" or alternative="greater" option to specify a one tailed test.
Parametric and resampling alternatives are available.
The package pgirmess provides nonparametric multiple comparisons. (Note: This package has been withdrawn but is still available in the CRAN archives.)
library(npmc)
npmc(x)
where x is a data frame containing variable 'var'
(response variable) and 'class' (grouping variable)제공
Visualizing Results
Use box plots or density plots to visual group differences.
To Practice
This interactive example allows you to practice the Wilcoxon Signed Rank test with R.
R provides functions for carrying out Mann-Whitney U, Wilcoxon Signed Rank, Kruskal Wallis, and Friedman tests.
For the wilcox.test you can use the alternative="less" or alternative="greater" option to specify a one tailed test.
Parametric and resampling alternatives are available.
The package pgirmess provides nonparametric multiple comparisons. (Note: This package has been withdrawn but is still available in the CRAN archives.)
Visualizing Results
Use box plots or density plots to visual group differences.
To Practice
This interactive example allows you to practice the Wilcoxon Signed Rank test with R.