Learn R Programming

RefFreeEWAS (version 2.2)

SVDwithMissing: SVD with missing values

Description

Compute singular value decomposition on a matrix with missing values, using a naive/simple method for imputing missing values by row-mean

Usage

SVDwithMissing(Y)

Arguments

Y

Matrix for which to compute SVD.

Value

singular value decomposition (as returned by svd function)

Details

Computes singular value decomposition on a matrix with missing values, using a naive/simple method for imputing missing values by row-mean. Not recommended for matrices with very large numbers of missing values.