Calculates the Simpson entropy of a probability vector.

# S3 method for wmppp
Simpson(NorP, Correction = "Lande", ..., CheckArguments = TRUE)

Arguments

NorP

A wmppp.object, with PointType values as species names.

Correction

A string containing one of the possible corrections: see Simpson.

...

Further arguments passed to entropart::Tsallis, entropart::Diversity, entropart::Richness, entropart::Shannon or entropart::Simpson (S3 methods for class 'AbdVector' or 'numeric')

CheckArguments

If TRUE (default), the function arguments are verified. Should be set to FALSE to save time in simulations for example, when the arguments have been checked elsewhere.

Value

A named number equal to the calculated entropy. The name is that of the bias correction used.

Examples

Simpson(Paracou6)
#>     Lande 
#> 0.9784778