Learn R Programming

iNEXT (version 2.0.3)

iNEXT: iNterpolation and EXTrapolation of Hill number

Description

iNEXT Estimation of interpolation and extrapolation of Hill number with order q

Usage

iNEXT(x, q = 0, datatype = "abundance", size = NULL, endpoint = NULL,
  knots = 40, se = TRUE, nboot = 50)

Arguments

x
a vector of species abundance or incidence frequency. If datatype = "incidence", then the input format of first entry should be total number of sampling units, and followed by species incidence frequency. Note that in iNEXT version 2.0, the
q
a numeric value, the order of Hill number .
datatype
the data type of input data. That is individual-based abundance data (datatype = "abundance") or sample-based incidence data (datatype = "incidence").
size
an integer vector of rarefaction/extrapolation sample size (number of individuals or sampling units), default is NULL. If size is not be specified, it would compute rarefaction/extrapolation by endpoint and knots.
endpoint
a integer of sample size that is the endpoint for rarefaction/extrapolation. Default is double reference sample size.
knots
a number of knots (say K, default is 40) specifying separate sample size between 1 and endpoint. If endpoint is smaller than reference sample size, then iNEXT() compute rarefaction part only and divided by approxima
se
calculate bootstrap standard error and show 95% confidence interval; default is TRUE.
nboot
the number of bootstrap resampling times, default is 50.

Value

  • a list of interpolation and extrapolation Hill number with specific order q (qD) and sample coverage (SC)

Examples

Run this code
data(spider)
z <- iNEXT(spider, q=0, datatype="abundance")

data(ant)
iNEXT(ant$h500m, q=1, datatype="incidence", size=round(seq(10, 500, length.out=20)), se=FALSE)

Run the code above in your browser using DataLab