Learn R Programming

iNEXT (version 2.0.5)

iNEXT: iNterpolation and EXTrapolation of Hill numbers

Description

iNEXT: 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 matrix, data.frame (species by sites), or list of species abundances or incidence frequencies. If datatype = "incidence", then the first entry of the input data must be total number of sampling units in each column or list.
q
a numeric value specifying the diversity order of Hill numbers.
datatype
data type of input data: individual-based abundance data (datatype = "abundance") or sampling-unit-based incidence data (datatype = "incidence").
size
an integer vector of sample sizes (number of individuals or sampling units) for which diversity estimates will be computed. If NULL, then diversity estimates will be computed for those sample sizes determined by the specified/default endpoint
endpoint
an integer specifying the sample size that is the endpoint for rarefaction/extrapolation. If NULL, then endpoint = double reference sample size.
knots
an integer specifying the number of equally-spaced knots (say K, default is 40) between size 1 and the endpoint; each knot represents a particular sample size for which diversity estimate will be calculated. If the endpoi
se
a logical variable to calculate the bootstrap standard error and 95% confidence interval.
nboot
an integer specifying the number of replications.

Value

  • a list of three objects: $DataInfo for summarizing data information; $iNextEst for showing diversity estimates for rarefied and extrapolated samples along with related statistics; and $AsyEst for showing asymptotic diversity estimates along with related statistics.

Examples

Run this code
data(spider)
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