Learn R Programming

ANTsR (version 0.3.3)

icawhiten: Simple icawhitening function.

Description

Icawhitens the input matrix using SVD and returns the result.

Usage

icawhiten(Xin, n.comp, verbose = FALSE)

Arguments

Xin
input matrix
n.comp
number of components on which to project
verbose
bool

Value

matrix is output

Examples

Run this code

mat <- matrix(c(rep(1,100),rep(0,200)),ncol=50)
wmat<-icawhiten( mat, 2 )

Run the code above in your browser using DataLab