sumtozero_contrast | R Documentation |
This function takes the dimensions of a design matrix to produce a sum-to-zero contrast matrix, which is post-multiplied by the design matrix, reducing its dimension by one, resulting in a parameterization of the model in terms of deviation from mean (of a balanced data set).
sumtozero_contrast(k)
k |
Number of columns of the design matrix. |
sumtozero_contrast
returns a k
x k-1
matrix to be post-multiplied by the design matrix.
sumtozero_contrast(8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.