Selects randomly 'mtry
' groups
group.selection(group, mtry = sqrt(unique(group[!is.na(group)])))
Arguments
group |
a vector indicating the group label of each variable |
mtry |
a number indicating the number of selected group |
Value
groups a vector indicating the label of the selected groups