process.Z {SGPR}R Documentation

Process Z for a sparse group penalty

Description

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

Usage

process.Z(Z)

Arguments

Z

The design matrix of the variables to be included in the model without penalization.

Value

A list containing:

Z

The standardized design matrix Z.

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]