[R-sig-eco] error message with function rda of package vegan

Sarah Goslee sarah.goslee at gmail.com
Mon Jun 11 18:42:26 CEST 2012


Hi,

On Mon, Jun 11, 2012 at 12:35 PM, Duarte Viana <viana.sptd at 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



More information about the R-sig-ecology mailing list