as.incfreq | R Documentation |
as.incfreq
: transform incidence raw data (a species by sites detection/non-detection or presence/absence matrix) to incidence frequencies data (iNEXT input format):
the first element is the total number of sampling units, followed by the vector of species frequencies. Here species frequencies represent the row sums of the incidence raw matrix.
as.incfreq(x)
x |
a |
a vector
of species incidence frequencies, the first element is the total number of sampling units.
data(ciliates)
lapply(ciliates, as.incfreq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.