Learn R Programming

ANTsR (version 1.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)

Arguments

A

input matrix

k

rank to use

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