
Performs Friedman test on samples collected in a randomized complete block design.
LearnNonparam::PermuTest
-> LearnNonparam::RCBDTest
-> Friedman
new()
Create a new Friedman
object.
Friedman$new(type = c("permu", "asymp"), n_permu = 10000)
type
a character string specifying the way to calculate the p-value.
n_permu
an integer indicating number of permutations for the permutation distribution. If set to 0
, all permutations will be used.
A Friedman
object.
t <- pmt(
"rcbd.friedman", n_permu = 0
)$test(Table4.5.3)$print()
t$type <- "asymp"
t
Run the code above in your browser using DataLab