compute.contrasts: Computes contrasts

Description Usage Arguments Value

View source: R/hiertest.R

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.


hiertest documentation built on May 2, 2019, 11:12 a.m.