Learn R Programming

ANTsR (version 0.4.0)

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
# NOT RUN {
mat <- matrix(rnorm(300),ncol=50)
lrmat <- lowrankRowMatrix( mat , 2 )

# }

Run the code above in your browser using DataLab