Learn R Programming

MultNonParam (version 1.3.9)

page.test.unbalanced: Perform Page test for unbalanced two-way design

Description

Perform Page test for unbalanced two-way design

Usage

page.test.unbalanced(x, trt, blk, sides = 2)

Value

P-value for Page test.

Arguments

x

A vector of responses

trt

A vector of consecutive integers starting at 1 indicating treatment

blk

A vector of consecutive integers starting at 1 indicating block

sides

A single integer indicating sides. Defaults to 2.

Examples

Run this code
page.test.unbalanced(rnorm(15),rep(1:3,5),rep(1:5,rep(3,5)))

Run the code above in your browser using DataLab