standmat: Matrix standardization

Description Usage Arguments Details Value Examples

View source: R/sSDR.R

Description

Matrix standardization

Usage

1

Arguments

x

A n x p matrix of n observations and p predictors.

Details

This function standardizes a matrix treating each row as a random vector in an iid sample. It returns a n x p matrix with column-mean zero and identity-covariance matrix.

Value

A n x p matrix of n observations and p predictors.

Examples

1
2
data <- gen.data(n=100)
x.std <- standmat(data$X)

sSDR documentation built on May 1, 2019, 8:23 p.m.

Related to standmat in sSDR...