process.X: Process X for a sparse group penalty

View source: R/process_X.R

process.XR 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.


SGPR documentation built on May 29, 2024, 5:27 a.m.