I have never used this before or anything like it! I'm doing an ecology assignment and need to create a "Non-metric dimensional scaling attempts to plot the similarity of sites in two dimensions". I have data of fish surveys from 7 different sites, 7 divers, and roughly 50 species. I keep getting the error that my data must be numerical but I thought it was so I'm not sure how my data should be formatted.
This is what I have entered. Thank you for any assistance!
install.packages()
library("vegan")
data("Book3")
diversity(Book3, index = "shannon")
A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need.