mean_contrasts | R Documentation |
A function to display the averaging vector and class mean contrasts implied by a given coding matrix
mean_contrasts(M)
M |
Any n x (n-1) coding matrix. |
The full contrast matrix, solve(cbind(1, M))
, suitably
annotated and presented in vulgar fractional form, for clarity.
mean_contrasts(code_helmert_forward(5)) mean_contrasts(code_diff_forward(letters[1:7]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.