Learn R Programming

mdatools (version 0.9.1)

getB: Low-dimensional approximation of data matrix X

Description

Low-dimensional approximation of data matrix X

Usage

getB(X, k = NULL, rand = c(1, 5), dist = "unif")

Arguments

X

data matrix

k

rank of X (number of components)

rand

a vector with two values - number of iterations (q) and oversmapling parameter (p)

dist

distribution for generating random numbers, 'unif' or 'norm'