wlra
wlra(x, w = NULL, lambda = 0, x0 = NULL, thresh = 1e-05,
maxit = 1000, rank.max = NULL)
nxp matrix to be approximates
nxp matrix of weights (optional)
regularization parameter
nxp matrix of initial values
convergence criterion
maximum number of iterations
maximum number of sv to compute
a list containing the following elements
the vector of singular values
the left singular vectors
the right singular vectors
boolean indicating if algorithm converged before maxit iterations
number of iterations performed