[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
ibb = solve(bb)
bb %*% ibb

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


More information about the R-help mailing list