This function calculates the likelihood of the Etienne Sampling Formula, provided abundance data and parameter values.
Usage
logLikelihood.ESF(theta, m, Abund)
Arguments
theta
Parameter value for the fundamental biodiversity number theta
m
Parameter value for migration
Abund
Vector containing abundance data
Value
Returns the LogLikelihood
Author(s)
Thijs Janzen
References
Etienne, R.S. (2005). A new sampling formula for neutral biodiversity. Ecology Letters, 8(3), 253-260.
Examples
A <- c(1,1,1,3,5,8); #Artificial abundance dataset
LL <- logLikelihood.ESF(theta = 7,m = 0.1,Abund = A)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(GUILDS)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/GUILDS/logLikelihood.ESF.Rd_%03d_medium.png", width=480, height=480)
> ### Name: logLikelihood.ESF
> ### Title: Likelihood of the Etienne sampling formula
> ### Aliases: logLikelihood.ESF
>
> ### ** Examples
>
> A <- c(1,1,1,3,5,8); #Artificial abundance dataset
> LL <- logLikelihood.ESF(theta = 7,m = 0.1,Abund = A)
>
>
>
>
>
> dev.off()
null device
1
>