[R] discerning species by color in cca biplot
gavin.simpson at ucl.ac.uk
Sat Aug 14 14:30:56 CEST 2010
If you only have seven species, why not draw the label for the species
(the names() component of your data) at the species score, rather than a
plot(OBJ, display = c("sites","species"), scaling = 3, type = "n")
points(OBJ, display = "sites", scaling = 3, type = "p")
points(OBJ, display = "species", scaling = 3, type = "t")
Not tested, am away at the moment but heading home. If you are still
having trouble (and I see now why you wanted matplot) then email back and
I'll given a longer example illustrating who to build up plots by hand.
> Dear List,
> I am running constrained correspondence analysis for abundance data of 7
> However, I would like to check which bird prefers which environment
> by showing the species with different colors of the dots in cca plot
> (package vegan).
> Please kindly help and thank you
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help