Abstract class for permutation tests.
typeThe way to calculate the p-value.
methodThe method used.
scoringThe scoring system used.
alternativeThe alternative hypothesis.
null_valueThe hypothesized value of the parameter in the null hypothesis.
conf_levelThe confidence level of the interval.
n_permuThe number of permutations used.
dataThe data.
statisticThe test statistic.
p_valueThe p-value.
estimateThe estimated value of the parameter.
conf_intThe confidence interval of the parameter.
test()Perform test on sample(s).
PermuTest$test(...)...sample(s). Can be numeric vector(s) or a data.frame or list containing them.
A progress bar is shown by default. Use options(LearnNonparam.pmt_progress = FALSE) to disable it.
The object itself (invisibly).
The object itself (invisibly).
plot()Plot histogram(s) of the permutation distribution. Note that this method only works if type is set to "permu".
PermuTest$plot(style = c("graphics", "ggplot2"), ...)stylea character string specifying which package to use.
...passed to graphics::hist.default() or ggplot2::stat_bin().
The object itself (invisibly).