Learn R Programming

LearnNonparam (version 1.2.3)

RCBDOneWay: One-Way Test for Equal Means in RCBD

Description

Performs F statistic based one-way test on samples collected in a randomized complete block design.

Arguments

Super classes

LearnNonparam::PermuTest -> LearnNonparam::RCBDTest -> RCBDOneWay

Methods

Public methods

Inherited methods


Method new()

Create a new RCBDOneWay object.

Usage

RCBDOneWay$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 zero (default) then all permutations are used.

Returns

A RCBDOneWay object.

Examples

Run this code
t <- pmt(
    "rcbd.oneway", n_permu = 5000
)$test(Table4.4.3)$print()

t$type <- "asymp"
t

Run the code above in your browser using DataLab