kruskal.scheffe: Extended Kruskal-Wallis test followed by Scheffe's test

View source: R/kruskal.scheffe.R

kruskal.scheffeR Documentation

Extended Kruskal-Wallis test followed by Scheffe's test

Description

R has kruskal.test originally. This function performs Kruskal-Wallis test followed by Scheffe's test.

Usage

kruskal.scheffe(data, group = NULL)

Arguments

data

data

group

group

Note

R has kruskal.test function. Compare with it.

Author(s)

Shoji F. Nakayama

See Also

kruskal.test

Examples

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))



fabregithub/r4jecs documentation built on June 13, 2025, 4:50 p.m.