Learn R Programming

LearnNonparam (version 1.2.3)

Page: Page Test

Description

Performs Page test on samples collected in a randomized complete block design.

Arguments

Super classes

LearnNonparam::PermuTest -> LearnNonparam::RCBDTest -> Page

Methods

Public methods

Inherited methods


Method new()

Create a new Page object.

Usage

Page$new(
  type = c("permu", "asymp"),
  alternative = c("two_sided", "less", "greater"),
  n_permu = 10000
)

Arguments

type

a character string specifying the way to calculate the p-value.

alternative

a character string specifying the alternative hypothesis.

n_permu

an integer indicating number of permutations for the permutation distribution. If set to zero (default) then all permutations are used.

Returns

A Page object.

Examples

Run this code
t <- pmt(
    "rcbd.page", alternative = "less"
)$test(Table4.4.3)

t$type <- "asymp"
t

Run the code above in your browser using DataLab