pinvr: Moore-Penrose generalized inverse of a matrix

Description Usage Arguments Value Author(s) References

Description

Computes the Moore-Penrose generalized inverse of a matrix. Allows rank reduction of the generalized inverse.

This function is directly taken from MASS package (code on GPLv3 license) and modified in order to include the rank reduction option. The added code for rank reduction is commented in the implementation.

Usage

1
pinvr(X, max.sv = min(dim(X)), tol = sqrt(.Machine$double.eps))

Arguments

X

Real or complex valued matrix to be transformed

max.sv

Maximum for single value decomposition

tol

Tolerance

Value

Returns the inverse logit transformed values.

Author(s)

Pietro Di Lena

References

Di Lena P et al: Missing value estimation methods for DNA methylation data. submitted to Bioinformatics


aprodi/methyLImp documentation built on May 25, 2019, 2:20 p.m.