Usage
ShannonBeta(NorP, NorPexp = NULL, Correction = "Best", CheckArguments = TRUE,
Ps = NULL, Ns = NULL, Pexp = NULL, Nexp = NULL)
bcShannonBeta(Ns, Nexp, Correction = "Best", CheckArguments = TRUE)
## S3 method for class 'ProbaVector':
ShannonBeta(NorP, NorPexp = NULL, Correction = "Best", CheckArguments = TRUE,
Ps = NULL, Ns = NULL, Pexp = NULL, Nexp = NULL)
## S3 method for class 'AbdVector':
ShannonBeta(NorP, NorPexp = NULL, Correction = "Best", CheckArguments = TRUE,
Ps = NULL, Ns = NULL, Pexp = NULL, Nexp = NULL)
## S3 method for class 'integer':
ShannonBeta(NorP, NorPexp = NULL, Correction = "Best", CheckArguments = TRUE,
Ps = NULL, Ns = NULL, Pexp = NULL, Nexp = NULL)
## S3 method for class 'numeric':
ShannonBeta(NorP, NorPexp = NULL, Correction = "Best", CheckArguments = TRUE,
Ps = NULL, Ns = NULL, Pexp = NULL, Nexp = NULL)
Arguments
Ps
The probability vector of species of the community.
Pexp
The probability vector of species of the metacommunity.
Ns
A numeric vector containing species abundances of the community.
Nexp
A numeric vector containing species abundances of the metacommunity.
NorP
A numeric vector, an integer vector, an abundance vector (AbdVector
) or a probability vector (ProbaVector
). Contains either abundances or probabilities NorPexp
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: currently, "ChaoShen"
(Marcon et al., 2012) equivalent to "Best"
, and "ZhangGrabchak"
(Zhang and Grabchak, 2014).
CheckArguments
Logical; if TRUE
, the function arguments are verified. Should be set to FALSE
to save time when the arguments have been checked elsewhere.