Skip to content

ordiR2step error

2 messages · Marika Galanidi

#
Dear list,

I want to run a db-RDA with "capscale" to analyse community data (a distance
matrix created with "betadiv") against pcnm vectors (it will be followed by
db-RDA against environmental variables and eventually variance
partitioning). 
However, when I try to forward select PCNM vectors with the function
"ordiR2step" I get an error

More specifically:
Following the example of ordiR2step with direction = "forward"
I get the following error

Error in ordiR2step(mod0.pcnm, scope = formula(mod1.pcnm), direction =
"forward",  : 
  the upper scope cannot be fitted (too many terms?)

I would really appreciate it if someone could tell me what this error means
and how to avoid it

Many thanks,
Marika

Marika Galanidi
Post-doctoral Researcher
DEU, Izmir, Turkey




--
View this message in context: http://r-sig-ecology.471788.n2.nabble.com/ordiR2step-error-tp7579341.html
Sent from the r-sig-ecology mailing list archive at Nabble.com.
3 days later
#
Dear all,

after reading the Legendre & Anderson (1999) paper again I realised I had
not included a correction for negative eigenvalues in my models. Square root
transformation of the distances did not eliminate negative eigenvalues but
adding a constant did the trick. Apologies for rushing to resort to the
forum, I should have done my homework better...

Regards,
Marika



--
View this message in context: http://r-sig-ecology.471788.n2.nabble.com/ordiR2step-error-tp7579341p7579342.html
Sent from the r-sig-ecology mailing list archive at Nabble.com.