posterior_samp_check: Posterior predictive check for inhomogenous Poisson process sampling model
Description
Posterior predictive check for inhomogenous Poisson process sampling modelUsage
posterior_samp_check(samp_times, n_sampled, logpop, grid, betas, cap = NULL)
Arguments
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.
betas
matrix posterior sample of log-linear coefficients for sampling
model.
cap
integer maximum number of posterior samples to use.