powered by
Convert field records to community matrix
data2mat(data = data)
Return a community matrix ready for computing diversity indices.
A dataframe with the the following columns: species, plots or sites, abundance.
species
plots
sites
abundance
Jinlong Zhang jinlongzhang01@gmail.com
None
data(testdata) spmatrix <- data2mat(testdata)
Run the code above in your browser using DataLab