scale2: Scaling and Centering of Matrix-like Objects

Description Usage Arguments Value

Description

Standardization (to zero means and unit variances) of matrix-like objects.

Usage

1
scale2(A, center = TRUE, scale = TRUE, bias = TRUE)

Arguments

A

A numeric matrix.

center

A logical value. If center = TRUE, each column is translated to have zero mean (default: TRUE).

scale

A logical value. If scale = TRUE, each column is transformed to have unit variance (default = TRUE).

bias

Logical value for biaised (1/n) or unbiaised (1/(n-1)) estimator of the var/cov (default = TRUE).

Value

A

The centered and/or scaled matrix. The centering and scaling values (if any) are returned as attributes "scaled:center" and "scaled:scale".


RGCCA documentation built on May 2, 2019, 3:39 p.m.