Hi, Thank you for your reply. It's not easy to give you a reproducible example, because this is a very specific case (something in my data , I believe). The only way is to send the data and try yourself. If someone is willing to do that, I would be grateful.
I can send the response matrix and the explanatory matrix, and all one has to do is load library vegan, load the data, and run the rda function: library(vegan) resp<-read.table("resp.txt", head=F, sep="\t") expl<-read.table("expl.txt", head=F, sep="\t") myrda<-rda(resp, expl) Thanks, Duarte On Mon, Jun 11, 2012 at 6:42 PM, Sarah Goslee <sarah.gos...@gmail.com> wrote: > Hi, > > On Mon, Jun 11, 2012 at 12:35 PM, Duarte Viana <viana.s...@gmail.com> wrote: >> Hello all, >> >> Apologies for cross postings. >> >> I am running the function "rda" of the vegan library, like I did many >> times without having troubles, and I get the following error message: >> "Error in if (rank) { : argument is not interpretable as logical". >> >> I am just testing a response matrix against a single explanatory >> matrix, which is the result of a model matrix with 4 dummy variables >> (coding for a factor of 5 levels). >> >> myrda<-rda(resp, expl) >> >> When I, for instance, change the response matrix, it goes well. >> >> Does anyone know what might be happening? > > Not without a reproducible example, I'm afraid. > > Sarah > > -- > Sarah Goslee > http://www.functionaldiversity.org _______________________________________________ R-sig-ecology mailing list R-sig-ecology@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology