process.group {SGPR} | R Documentation |
A function that checks the group information for possible errors and processes it.
process.group(group, group.weight)
group |
A vector that specifies the group membership of each variable in X. |
group.weight |
A vector specifying weights that are multiplied by the group penalty to account for different group sizes. |
A structure containing the prepared group structure and, as an attribute, its labels and group weights.