Description Usage Arguments Value
View source: R/plot_latent_posterior.R
Plot the posterior distribution of the latent paths for measured states.
1 2 3 |
epimodel |
fitted epimodel object |
states |
character vector of states for which to plot the posterior |
times |
sequence of times at which to compute the posterior |
cm |
"med" if posterior median, 2.5 and 97.5 quantiles are desired, otherwise "mn" if posterior mean, and 95 percent CI are desired |
proportion |
if true, plot the proportion instead of the counts |
truth |
true latent trajectory |
true_popsize |
true population size, defaults to the population size specified in the epimodel object unless otherwise provided. |
dat |
data matrix in the epimodel object |
plot of the posterior distribution of the latent paths
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.