Learn R Programming

SGPR (version 0.1.2)

process.Z: 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)

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.

Arguments

Z

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