iNEXTdare: Main Functions 'iNEXT_dare': compute the rarefaction and...

Description Usage Arguments Examples

View source: R/Mainfunction.R

Description

Main Functions iNEXT_dare: compute the rarefaction and extrapolation of diveristy without.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
iNEXTdare(
  x,
  rho,
  q = 0,
  datatype = "abundance",
  size = NULL,
  endpoint = NULL,
  knots = 40,
  se = TRUE,
  conf = 0.95,
  nboot = 50
)

Arguments

x

a list consist of N data.frame/matrix describing species-by-assemblage/plot abundance. Note that the species in each element must exactly match including specpes order. Use data(abundata) to see data example.

rho

a numeric value of the fraction of sample size, which should be between 0 and 1.

q

a numeric value or vector specifying the diversity order of Hill number.

datatype

data type of input data: individual-based abundance data (datatype = "abundance"), sampling-unit-based incidence frequencies data (datatype = "incidence_freq")

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 and knots.

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 endpoint is smaller than the reference sample size,

se

a logical variable to calculate the bootstrap standard error and conf confidence interval.

conf

a positive number < 1 specifying the level of confidence interval, default is 0.95.

nboot

an integer specifying the number of replications.

Examples

1
2
data(abudata)
out <- iNEXTdare(x = abudata, q = c(0,1,2), datatype = "abundance",se = TRUE)

ckw0507/iNEXTdare documentation built on Dec. 27, 2019, 2:21 a.m.