Learn R Programming

ANTsR (version 0.3.3)

lowrankRowMatrix: Produces a low rank version of the input matrix

Description

Produces a low rank version of the input matrix

Usage

lowrankRowMatrix(A, k = 2, faster = FALSE)

Arguments

A
input matrix
k
rank to use
faster
boolean

Value

matrix is output

Examples

Run this code

mat <- matrix(rnorm(300),ncol=50)
lrmat <- lowrankRowMatrix( mat , 2 )

Run the code above in your browser using DataLab