posterior_coal_check: Posterior predictive check for coalescent model
Description
Posterior predictive check for coalescent modelUsage
posterior_coal_check(coal_times, samp_times, n_sampled, logpop, grid,
cap = NULL)
Arguments
coal_times
numeric vector of coalescent times.
samp_times
numeric vector of sampling times.
n_sampled
integer vector of lineages sampled at each sampling time.
logpop
matrix posterior sample of log-effective population sizes.
cap
integer maximum number of posterior samples to use.