Produces a low rank version of the input matrix

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

Arguments

A

input matrix

k

rank to use

faster

boolean

Value

matrix is output

Author

Avants BB

Examples


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