logLikelihood.ESF | R Documentation |
This function calculates the likelihood of the Etienne Sampling Formula, provided abundance data and parameter values.
logLikelihood.ESF(theta, m, abund)
theta |
Parameter value for the fundamental biodiversity number theta |
m |
Parameter value for migration |
abund |
Vector containing abundance data |
Returns the LogLikelihood
Thijs Janzen
Etienne, R.S. (2005). A new sampling formula for neutral biodiversity. Ecology Letters, 8(3), 253-260.
A <- c(1,1,1,3,5,8); #Artificial abundance dataset
LL <- logLikelihood.ESF(theta = 7, m = 0.1, abund = A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.