data2mat {spaa} | R Documentation |
This function can be used to convert the species list to species matrix. The rows of the output matrix are plots, or sites. The columns are the species.
data2mat(data = data)
data |
The input |
The input data will have to include :species
,plots
or sites
, abundance
, specifically, a column named "abundance"
must be specified.
Return a species matrix with each row for each plot, and each column for species.
Jinlong Zhang jinlongzhang01@gmail.com
None
data(testdata)
spmatrix <- data2mat(testdata)