[R] Error in ginv(A) : 'X' must be a numeric or complex matrix

2015-06-14 Thread Matteo Villa
Dear all, I encountered a problem that has been bugging me for some hours now, and I still can't come up with a viable solution. I tried searching the archives, but to no avail, so here I am sending my first e-mail to the list! I am estimating a binary spatial autoregressive model via a Gibbs

[R] Error in ginv(A) : 'X' must be a numeric or complex matrix

2015-06-13 Thread Matteo Villa
Dear all, I tried searching the archives for a problem that I encountered today, but to no avail, so here I am sending my first e-mail to the list! I am estimating a binary spatial autoregressive model via a Gibbs sampler. When I do this with a neighborhood matrix, everything goes perfectly fine,