process.group {SGPR}R Documentation

Process groupings for a sparse group penalty

Description

A function that checks the group information for possible errors and processes it.

Usage

process.group(group, group.weight)

Arguments

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.

Value

A structure containing the prepared group structure and, as an attribute, its labels and group weights.


[Package SGPR version 0.1.2 Index]