View source: R/PLMIXfunctions.R
binary_group_ind | R Documentation |
Construct the binary group membership matrix from the multinomial classification vector.
binary_group_ind(class, G)
class |
Numeric vector of class memberships. |
G |
Number of possible different classes. |
Numeric length(class)
\times
G
matrix of binary group memberships.
Cristina Mollica and Luca Tardella
binary_group_ind(class=c(3,1,5), G=6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.