SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the function ginv() (Moore-Penrose generalized inverse) in the MASS package