contr.helmod | R Documentation |
Modified Helmert contrast (or coding) matrix.
contr.helmod(n)
n |
Integer. |
The returned matrix is a scaled version of contr.helmert(A)
.
An orthogonal matrix with n
rows and n - 1
columns. The
columns form a basis of the subspace orthogonal to a vector of
n
ones.
A <- contr.helmod(6)
crossprod(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.