I was wondering what is your recommended way to compute the inverse of a matrix?
The ways I found seem not satisfactory. For example,
> c=rbind(c(1,
You can use the function ginv() (Moore-Penrose generalized inverse) in the MASS package