[R] Error in if (rank) { : argument is not interpretable as logical

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Jun 12 23:33:43 CEST 2012



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.



More information about the R-help mailing list