Boot_p: R code for JADE (Joint species-rank Abundance...

Description Usage Arguments Value Examples

View source: R/Bootstrap_p.r

Description

R code for JADE (Joint species-rank Abundance Distribution/Estimation): two parameters & 2013 Entropy and the species accumulation curve Appendix S2: Estimating species relative abundance :one parameter based on individual-based (abundance) and sampling-unit-based (incidence) data.

Usage

1
2
Boot_p(x, zero = TRUE, Bootype = "One", datatype = "abundance",
  rho = NaN)

Arguments

x

a vector/matrix/list of species abundance frequency

zero

reserves zero frequency or not. Default is TRUE.

Bootype

a string= "JADE" or "One" or "SAR". Default is "One", SAR for without replacement

datatype

a string

rho

a numerical value as sampling fraction, only for SAR default=NaN

Value

a vector/matrix/list with species relative abundance or detection probability distribution

Examples

1
2
3
4
5
data(bird)
bird.inc <- bird$inci
bird.abun<- bird$abun
Boot_p(bird$abun, datatype="abundance")
Boot_p(bird$abun, datatype="incidence_raw")

chaolab2019/chaoUtility documentation built on Feb. 26, 2020, 2:48 p.m.