Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

as.incfreq

Transform incidence raw data to incidence frequencies (iNEXT input format)


Description

as.incfreq: transform incidence raw data (a species by sites presence-absence matrix) to incidence frequencies data (iNEXT input format, a row-sum frequencies vector contains total number of sampling units).

Usage

as.incfreq(x)

Arguments

x

a data.frame or matirx of species by sites presence-absence matrix.

Value

a vector of species incidence frequencies, the first entry of the input data must be total number of sampling units.

Examples

data(ciliates)
lapply(ciliates, as.incfreq)

iNEXT

Interpolation and Extrapolation for Species Diversity

v2.0.20
GPL (>= 3)
Authors
T. C. Hsieh, K. H. Ma and Anne Chao
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.