Description Usage Arguments Value Author(s) Examples
Function to calculate the loglikelihood of a constant coalescent model
1  | negllc_const(N0, t, A)
 | 
N0 | 
 A population size.  | 
t | 
 A sampling and coalescent time vector.  | 
A | 
 A lineages vector  | 
Sorted sampling times, coalescent times and sampling lineages.
Simon Frost (sdwfrost@gmail.com)
1 2 3 4  | library(ape)
t1=rcoal(20)
x=att(t1)
negllc_const(1, x$t, x$A)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.