ginv.RdCalculates the Moore-Penrose generalized inverse of a matrix
X.
ginv(X, tol = sqrt(.Machine$double.eps))A MP generalized inverse matrix for X.
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S-PLUS. Fourth Edition. Springer.