Learn R Programming

GUILDS (version 1.4.7)

logLikelihood.ESF: Likelihood of the Etienne sampling formula

Description

This function calculates the likelihood of the Etienne Sampling Formula, provided abundance data and parameter values.

Usage

logLikelihood.ESF(theta, m, abund)

Value

Returns the LogLikelihood

Arguments

theta

Parameter value for the fundamental biodiversity number theta

m

Parameter value for migration

abund

Vector containing abundance data

Author

Thijs Janzen

References

Etienne, R.S. (2005). A new sampling formula for neutral biodiversity. Ecology Letters, 8(3), 253-260.

Examples

Run this code
	A <- c(1,1,1,3,5,8); #Artificial abundance dataset
	LL <- logLikelihood.ESF(theta = 7, m = 0.1, abund = A)

Run the code above in your browser using DataLab