Re: [R-sig-eco] biplot question: "Error in 1L:n : argument of length 0"

2015-07-29 Thread Gavin Simpson
Use the `plot()` method provided by vegan. You won't get biplots from an NMDS as the method throws away the species data to when convert the data to dissimilarities before generating the k-d mapping. vegan allows species scores to be added (as the weighted averages of the site scores) if the raw da

[R-sig-eco] biplot question: "Error in 1L:n : argument of length 0"

2015-07-29 Thread Michael Marsh
I am trying to obtain biplots of NMDS results, ideally like the rpart.pca() result with mvpart. Can someone easily tell me why I get this error: Error in 1L:n : argument of length 0 from this script, and graphical output (below) lacking labels for either sites or species? x and y matrices are s