Description Usage Arguments Value Examples
Modified version of wilcox.test (taken from src/library/stats/R/wilcox.test.R) which performes a two-sample Mann-Withney test only and therefore is faster than the original version.
1 2 3 | mwTest2samp(x, y,
alternative = c("two.sided", "less", "greater"),
correct = TRUE)
|
x |
a numeric vector. |
y |
a numeric vector. |
alternative |
one of c("two.sided", "less", "greater"). |
correct |
boolean. |
the test statistic and the p-value of the test.
1 2 3 | x<-rnorm(100)
y<-rnorm(100,mean=1)
mwTest2samp(x,y,alternative='two.sided')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.