compute.contrasts: Computes contrasts

Description

Computes the main effect and interaction contrasts, "w" and "z", respectively.

Usage

1
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.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.