Duarte Viana
2012-Jun-11 15:47 UTC
[R] Error in if (rank) { : argument is not interpretable as logical
Hello all, 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 change the response matrix, it goes well. Does anyone know what might be happening? Thanks, Duarte
Uwe Ligges
2012-Jun-12 21:33 UTC
[R] Error in if (rank) { : argument is not interpretable as logical
On 11.06.2012 17:47, Duarte Viana wrote:> Hello all, > > 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 change the response matrix, it goes well. > > Does anyone know what might be happening?Not without reproducible examples nor a traceback() of the error message. Uwe Ligges> Thanks, > > Duarte > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.