svdc: The completed SVD

Description Usage Arguments Examples

View source: R/svd_na.R

Description

This calculates right and left singular vectors of a data matrix possibly containing missing values.

Usage

1
svdc(X, nu = NULL, nv = NULL)

Arguments

X

the data matrix of which to calcluate the completed SVD.

nu

the number of left singular vectors to calculate

nv

the nubmer of right singular vectors to calculate

Examples

1
2
3
Y <- rnorm(10)%*%t(rnorm(10))
Y[1,1] <- NA
svdc.out <- svdc(Y)

rrscale documentation built on July 2, 2020, 2:15 a.m.