exponential_coalescent_loglh: Compute likelihood of a realisation of an exponential growth...

View source: R/RcppExports.R

exponential_coalescent_loglhR Documentation

Compute likelihood of a realisation of an exponential growth coalescent.

Description

Compute likelihood of a realisation of an exponential growth coalescent.

Usage

exponential_coalescent_loglh(
  sampling_times,
  coalescent_times,
  lambda,
  pop_size
)

Arguments

sampling_times

times of leaves.

coalescent_times

times of coalescent events.

lambda

growth rate.

pop_size

final effective pop_size at time of most recent sample.

Value

the log likelihood for the given parameters.


dhelekal/CaveDive documentation built on June 11, 2024, 4:32 p.m.