negllc_const: Function to calculate the loglikelihood of a constant...

Description Usage Arguments Value Author(s) Examples

View source: R/RcppExports.R

Description

Function to calculate the loglikelihood of a constant coalescent model

Usage

1
negllc_const(N0, t, A)

Arguments

N0

A population size.

t

A sampling and coalescent time vector.

A

A lineages vector

Value

Sorted sampling times, coalescent times and sampling lineages.

Author(s)

Simon Frost (sdwfrost@gmail.com)

Examples

1
2
3
4
library(ape)
t1=rcoal(20)
x=att(t1)
negllc_const(1, x$t, x$A)

xiangfstats/GenieR documentation built on May 4, 2019, 1:06 p.m.