Usage
Richness(NorP, Correction = "Chao1", Alpha = 0.05, JackOver = FALSE,
CheckArguments = TRUE, Ps = NULL, Ns = NULL)
bcRichness(Ns, Correction = "Chao1", Alpha = 0.05, JackOver = FALSE,
CheckArguments = TRUE)
## S3 method for class 'ProbaVector':
Richness(NorP, Correction = "Chao1", Alpha = 0.05, JackOver = FALSE,
CheckArguments = TRUE, Ps = NULL, Ns = NULL)
## S3 method for class 'AbdVector':
Richness(NorP, Correction = "Chao1", Alpha = 0.05, JackOver = FALSE,
CheckArguments = TRUE, Ps = NULL, Ns = NULL)
## S3 method for class 'integer':
Richness(NorP, Correction = "Chao1", Alpha = 0.05, JackOver = FALSE,
CheckArguments = TRUE, Ps = NULL, Ns = NULL)
## S3 method for class 'numeric':
Richness(NorP, Correction = "Chao1", Alpha = 0.05, JackOver = FALSE,
CheckArguments = TRUE, Ps = NULL, Ns = NULL)
Arguments
Ps
A probability vector, summing to 1.
Ns
A numeric vector containing species abundances.
NorP
A numeric vector, an integer vector, an abundance vector (AbdVector
) or a probability vector (ProbaVector
). Contains either abundances or probabilities Correction
A string containing one of the possible corrections: "None"
(no correction), "Jackknife"
, "iChao1"
, or "Chao1"
, the default value.
Alpha
The risk level, 5% by default, used to optimize the jackknife order.
JackOver
If TRUE
, retain the jackknife order immediately superior to the optimal one, usually resulting in the overestimation of the number of species. Default is FALSE
.
CheckArguments
Logical; if TRUE
, the function arguments are verified. Should be set to FALSE
to save time when the arguments have been checked elsewhere.