page.test.unbalanced function

Perform Page test for unbalanced two-way design

Perform Page test for unbalanced two-way design

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

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.

Returns

P-value for Page test.

Examples

page.test.unbalanced(rnorm(15),rep(1:3,5),rep(1:5,rep(3,5)))
  • Maintainer: John E. Kolassa
  • License: GPL-2
  • Last published: 2023-08-30

Useful links