Learn R Programming

phylodyn (version 0.9.0)

posterior_samp_check: Posterior predictive check for inhomogenous Poisson process sampling model

Description

Posterior predictive check for inhomogenous Poisson process sampling model

Usage

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.
grid
numeric grid
betas
matrix posterior sample of log-linear coefficients for sampling model.
cap
integer maximum number of posterior samples to use.