Learn R Programming

rrscale (version 1.0)

svdc: The completed SVD

Description

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

Usage

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

Run this code
# NOT RUN {
Y <- rnorm(10)%*%t(rnorm(10))
Y[1,1] <- NA
svdc.out <- svdc(Y)
# }

Run the code above in your browser using DataLab