Skip to content
Prev 2402 / 7420 Next

vegan rda

On Wed, 2011-09-28 at 00:49 +0200, Sibylle St?ckli wrote:
That **is** what you asked for. Note that **you** specified `height` as
response and `., data = species` for the constraints (the independent
variables or explanatory variables).

Some object to the way vegan displays biplots/triplots for RDA. One
could argue that both the species (or response variable, height in your
case) scores and the constraints (explanatory variables, the species in
your case) should both be represented by biplot arrows.

Vegan doesn't do this; it draws the species (response) scores as points;
these points are where the arrow head would be if we *had* drawn them as
arrows. Only the constraints are represented as arrows in vegan PCA/RDA
biplot/triplots.

I honestly couldn't follow your line of argument in your original post
to the list. If you want (your object) `species` as the response and
(your object) `height` as the constraints or explanatory variables, then

ME_rda <- rda(species ~ ., height, scale = TRUE)
Your file did not make it through the mail filters. Plain text should
get through, so supply as CSV or similar if you need us to take a look.

However, It isn't too helpful to keep on telling us how your data are
formatted in whatever programme you entered the data in. R most easily
works with data in simple spreadsheet-style formats. If you have your
variables in columns, samples in rows, you won't go wrong. The file can
contain both the response and explanatory variables or you can two
separate files for response and explanatory variables.

HTH

G