Re: [R-sig-eco] ecodist (MRM) error message

2011-03-15 Thread Sarah Goslee
Alfredo, I'd be happy to try to help, but need rather more information. What version of R, ecodist? What OS? What do your data look like - str() is very helpful in this regard, or possibly summary(as.vector(Dx)) and summary(as.vector(Dy)). What are Dx and Dy? How were the dissimilarities

Re: [R-sig-eco] ecodist (MRM) error message

2011-03-15 Thread Alfredo Tello
Hi Sarah, Thanks for your reply. I've solved the problem (or at least gotten around it). Dy is a Bray-Curtis dissimilarity matrix and Dx a euclidean matrix representing an environmental gradient. I was running MRM as: MRM(Dy~exp(Dx)). If I run MRM(log(Dy)~Dx) I don't get the error message. Should

Re: [R-sig-eco] ecodist (MRM) error message

2011-03-15 Thread Alfredo Tello
Sarah, I don't think I've got the programming skills at the moment to contribute a patch, but I'll keep it mind for the future. Thanks for the log() reminder. It could definitely be tragic to confuse bases. Best wishes, A -- View this message in context:

[R-sig-eco] ecodist (MRM) error message

2011-03-14 Thread Alfredo Tello
Hi Everyone, MRM is returning what seems to be a matrix singularity error: Error in solve.default(XX) : system is computationally singular: reciprocal condition number = 1.88323e-86 when running MRM(Dy~exp(Dx)). I would appreciate it if anyone could help me around this. Thanks, A --