KruskalWallis {LearnNonparam} | R Documentation |
Kruskal-Wallis Test
Description
Performs Kruskal-Wallis test on samples.
Super classes
LearnNonparam::PermuTest
-> LearnNonparam::KSampleTest
-> KruskalWallis
Methods
Public methods
Inherited methods
Method new()
Create a new KruskalWallis
object.
Usage
KruskalWallis$new( type = c("permu", "asymp"), scoring = c("rank", "vw", "expon"), n_permu = 10000 )
Arguments
type
a character string specifying the way to calculate the p-value.
scoring
a character string specifying the scoring system.
n_permu
an integer indicating number of permutations for the permutation distribution. If set to
0
, all permutations will be used.
Returns
A KruskalWallis
object.
Examples
pmt(
"ksample.kw", type = "asymp"
)$test(Table3.2.2)$print()
t <- pmt(
"ksample.kw", type = "permu"
)$test(Table3.2.3)$print()
t$type <- "asymp"
t
[Package LearnNonparam version 1.2.9 Index]