bootp_one_abu_sar: estimate the bootstrap population of an incidence sample...

Description Usage Arguments Value Examples

View source: R/Bootstrap_p.r

Description

estimate the bootstrap population of an incidence sample which was drawn without replacement. Chao, A.,... (2019). bootp_one_abu_sar(x) is a function for abundance data bootp_one_inc_sar(x) is a function for incidence data

Usage

1
bootp_one_abu_sar(Spec, zero = TRUE, rho = NaN)

Arguments

Spec

a vector of species abundance frequency

zero

reserves zero frequency or not. Default is TRUE.

rho

a numerical value as sampling fraction

Value

a numerical vector and its length is the same as Spec

Examples

1
2
3
4
5
data(bird)
bird.abun<- bird$abun
Boot_p(bird.abun,zero=FALSE,Bootype="SAR",datatype="abundance",rho=0.7)
data(incdata)
Boot_p(incdata,zero=FALSE,Bootype="SAR",datatype="incidence",rho=0.7)

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