[R] Matrix Inversion

Wang Chengbin chengbinw at gmail.com
Wed Dec 12 11:59:05 CET 2007


I got the following error:

a = read.csv("mat.csv")
b = as.matrix(a)
tb = t(b)
bb = tb %*% b
dim(bb)
ibb = solve(bb)
bb %*% ibb

> ibb = solve(bb)
Error in solve.default(bb) :
  system is computationally singular: reciprocal condition number =
1.77573e-19
>
Are there any ways to find more information about why it is singular?

Thanks.


More information about the R-help mailing list