Rdocumentation
powered by
Learn R Programming
hiertest (version 1.1)
compute.contrasts: Computes contrasts
Description
Computes the main effect and interaction contrasts, "w" and "z", respectively.
Usage
compute.contrasts(x, y, type = c("Fisher", "simple"))
Arguments
x
n by p design matrix
y
binary (0 or 1) vector of length n indicating class
type
determines whether Fisher transform should be applied to interaction contrasts. Default: Fisher
Value
Returns w and z.