contrast_matrix | R Documentation |
Create contrast matrix
contrast_matrix(R, ref, name = 1:R)
R |
the number of column for the contrast matrix |
ref |
the reference group. It could be a number between 1,..., R, R is number of conditions, or the name of reference group. If there is no reference group, it can be the string 'mean'. |
name |
a length R vector contains the name for conditions |
contrast_matrix(5, 'mean')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.