coalescent_loglh: Compute likelihood of a realisation of a homogeneous...

View source: R/RcppExports.R

coalescent_loglhR Documentation

Compute likelihood of a realisation of a homogeneous coalescent.

Description

Compute likelihood of a realisation of a homogeneous coalescent.

Usage

coalescent_loglh(sampling_times, coalescent_times, pop_size, t_max)

Arguments

pop_size

effective population size Neg.

time_intervals

waiting times.

lineage_count

number of lineages for each waiting time.

Value

the log likelihood for the given parameters.


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