Description Usage Arguments Value
View source: R/g_matrix_convert.R
Tranforms a 0-1-2 design matrix to a 0-1 matrix
1 |
X |
The encoded design matrix in 0-1-2's |
Each factor gains two columns, with values (0,0) if the factor is 0, (1,0) if the factor is 1, and (0,1) is the factor is 2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.