Description Usage Arguments Value
Posterior predictive check for inhomogenous Poisson process sampling model
1 2 3 |
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 of time points. |
betas |
matrix posterior sample of log-linear coefficients for sampling model. |
cap |
integer maximum number of posterior samples to use. |
covariates |
list of vectors representing covariate values. |
cov_betas |
numeric coefficients for each element of covariates. |
pow_covariates |
list of vectors representing interaction covariate values. |
pow_cov_betas |
numeric coefficients for each element of pow_covariates. |
data.frame with two columns: "obs" contains the chi-square discrepancies for the supplied sampling times, "rep" contains the chi-square discrepancies for the replicated sampling times.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.