plot_density | R Documentation |
Function that provides a plot of the estimated posterior densities of parameters from SIR model.
plot_density(SIR, file_name = NULL, lower = NULL, upper = NULL,
priors = NULL, inc_reference = TRUE)
SIR |
A fit SIR model or list of SIR models. Plots in the order provided. |
file_name |
name of a file to identified the files exported by the function. If NULL, does not save. |
lower |
Vector of lower bounds for x-axis |
upper |
Vector of upper bounds for x-axis |
priors |
Default = NULL, SIR realized priors or list of SIR realized priors. Plots in the order provided. |
reference |
Default = NULL, wether reference case is included in SIR |
Returns and saves a figure with the posterior densities of parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.