Description Usage Arguments Value Author(s) Examples
View source: R/PLMIXfunctions.R
Construct the binary group membership matrix from the multinomial classification vector.
1 |
class |
Numeric vector of class memberships. |
G |
Number of possible different classes. |
Numeric length(class)
xG matrix of binary group memberships.
Cristina Mollica and Luca Tardella
1 | 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.