View source: R/kruskal.scheffe.R
kruskal.scheffe | R Documentation |
R has kruskal.test originally. This function performs Kruskal-Wallis test followed by Scheffe's test.
kruskal.scheffe(data, group = NULL)
data |
data |
group |
group |
R has kruskal.test function. Compare with it.
Shoji F. Nakayama
kruskal.test
data <- c(
3.42, 3.84, 3.96, 3.76,
3.17, 3.63, 3.47, 3.44, 3.39,
3.64, 3.72, 3.91
)
group <- rep(c("H", "M", "L"), c(4, 5, 3))
kruskal.scheffe(data, group)
## List
x1 <- c(3.42, 3.84, 3.96, 3.76)
x2 <- c(3.17, 3.63, 3.47, 3.44, 3.39)
x3 <- c(3.64, 3.72, 3.91)
kruskal.scheffe(list(x1,x2,x3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.