
Modified Helmert contrast (or coding) matrix.
contr.helmod(n)
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.
Integer.
The returned matrix is a scaled version of contr.helmert(A)
.
A <- contr.helmod(6)
crossprod(A)
Run the code above in your browser using DataLab