Skip to contents

These functions accept a data frame and perhaps test specific arguments (like whether or not the test will be asymptotic or simulation based). It produces a p-value.

Usage

pOneway(
  dat,
  fmla = YContNorm ~ trtF | blockF,
  simthresh = 20,
  sims = 1000,
  parallel = "no",
  ncpu = NULL
)

Arguments

dat

An object inheriting from class data.frame

fmla

outcome~treatment factor | block factor (following coin API).

simthresh

Below which number of total observations should the p-value functions use permutations rather than asymptotic approximations

sims

Either NULL (meaning use an asymptotic reference dist) or a number (meaning sampling from the randomization distribution implied by the formula)

parallel

Should the function use multicore processing for permutation based testing. Default is no. But could be "snow" or "multicore" following approximate in the coin package.

ncpu

is the number of workers (for "snow") or cores (for "multicore").

Value

A p-value