process.X {SGPR}R Documentation

Process X for a sparse group penalty

Description

A function that checks the design matrix X for possible errors and scales it.

Usage

process.X(X, group)

Arguments

X

The design matrix without intercept with the variables to be selected.

group

A vector that specifies the group membership of each variable in X.

Value

A list containing:

X

The standardized design matrix X.

vars

The variable names of the matrix.

center

The center of the variables before the transformation.

scale

The scale of the variables before the transformation.


[Package SGPR version 0.1.2 Index]