Binary group membership matrix
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)
xG matrix of binary group memberships.
Cristina Mollica and Luca Tardella
binary_group_ind(class=c(3,1,5), G=6)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.