MPinv | R Documentation |
This function is originally impelemented in package 'MASS' as function ginv
.
It was adapted to be able to deal with matrices from the 'Matrix' package,
e.g. sparse matrices.
MPinv(X, tol = sqrt(.Machine$double.eps))
X |
(object) two-dimensional, for which a Moore-Penrose inverse has to be computed |
tol |
(numeric) tolerance value to be used in comparisons |
(object) A Moore-Penrose inverse of X.
Authors of the 'MASS' package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.