Usage
Dqz(NorP, q = 1, Z = diag(length(Ps)), Correction = "Best",
CheckArguments = TRUE, Ps = NULL, Ns = NULL)
bcDqz(Ns, q = 1, Z = diag(length(Ns)), Correction = "Best", CheckArguments = TRUE)
## S3 method for class 'ProbaVector':
Dqz(NorP, q = 1, Z = diag(length(Ps)), Correction = "Best",
CheckArguments = TRUE, Ps = NULL, Ns = NULL)
## S3 method for class 'AbdVector':
Dqz(NorP, q = 1, Z = diag(length(Ps)), Correction = "Best",
CheckArguments = TRUE, Ps = NULL, Ns = NULL)
## S3 method for class 'integer':
Dqz(NorP, q = 1, Z = diag(length(Ps)), Correction = "Best",
CheckArguments = TRUE, Ps = NULL, Ns = NULL)
## S3 method for class 'numeric':
Dqz(NorP, q = 1, Z = diag(length(Ps)), Correction = "Best",
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 q
A number: the order of diversity. Default is 1.
Z
A relatedness matrix, i.e. a square matrix whose terms are all positive, strictly positive on the diagonal. Generally, the matrix is a similarity matrix, i.e. the diagonal terms equal 1 and other terms are between 0 and 1. Default is the
Correction
A string containing one of the possible corrections: "None" (no correction), "HorvitzThomson", "MarconZhang" or "Best", the default value. The "MarconZhang" correction assumes a similarity m
CheckArguments
Logical; if TRUE, the function arguments are verified. Should be set to FALSE to save time when the arguments have been checked elsewhere.