Learn R Programming

LearnNonparam (version 1.2.7)

OneWay: One-Way Test for Equal Means

Description

Performs F statistic based one-way test on samples.

Arguments

Super classes

LearnNonparam::PermuTest -> LearnNonparam::KSampleTest -> OneWay

Methods

Public methods

Inherited methods


Method new()

Create a new OneWay object.

Usage

OneWay$new(type = c("permu", "asymp"), n_permu = 10000)

Arguments

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.

Returns

A OneWay object.

Examples

Run this code
# \donttest{
t <- pmt(
    "ksample.oneway", n_permu = 0
)$test(Table3.1.2)$print()

t$type <- "asymp"
t
# }

Run the code above in your browser using DataLab