Skip to content

Vegan(ordistep) error: Error in if (aod[1, 5] <= Pin) { : missing value where TRUE/FALSE needed

2 messages · Nevil Amos, Jari Oksanen

#
Nevil Amos <nevil.amos <at> monash.edu> writes:
Nevil,

It seems to me that the source of the problem appears in this table:
The key point is that "Constrained" component is completely alaised (Inertia 0,
Rank 0) and therefore it cannot be analysed in permutation tests. You get the
same error message with this model:

mod <- rda(dune ~  Moisture + Condition(Moisture), dune.env)

and for the same reason. In your case, PCNM's seem to explain everything and
there is nothing left for other variables, and therefore you cannot analyse them.

Cheers, Jari Oksanen

I can see how to fix this in vegan. All I can do is to handle these cases
smoothly and with comprehensible error messages, though. They cannot be handled
with permutation tests since there is nothing to do if "Constrained" component
is zeroed.

Cheers, Jari Oksanen