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 30, 2017, 2:44 a.m.

Search within the hiertest package
Search all R packages, documentation and source code