Description Usage Arguments Value
Computes the main effect and interaction contrasts, "w" and "z", respectively.
1 | compute.contrasts(x, y, type = c("Fisher", "simple"))
|
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 |
Returns w and z.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.