I'm generating NMDS ordination plots from community data using the R package, vegan, and want to include vectors (ie arrows from the origin) whose lengths correspond to the importance of selected species. How can I limit the arrows displayed to only those species, say, in the top quartile of the data? I can calculate the lengths for each vector, but don't know how to limit the arrows printed to those that meet the desired standard. For example,
require(vegan)
data(dune)
mds <- metaMDS(dune)
plot(mds$points[,1], mds$point[,2])
arrows(0, 0, mds$species[,1], mds$species[,2], col = "grey50")
# for the length of ea arrow for ea sp:
hyp <- sqrt(mds$species[,1]^2 + mds$species[,2]^2)
Thanks...