Plots posterior densities and the densities of the corresponding priors. The prior density is automatically evaluated for the range given by the x-axis limits of the plot (which defaults to the posterior support).
post_prior_densplot(
result,
param = "all",
burnin = NULL,
prior.col = "red",
n = 1000,
...
)a deBInfer_result object
character, name of parameter to plot. "all" (default) plots all parameters
numeric, number of samples to discard before plotting
character color for prior density
integer, number of points at which to evaluate the prior density.
further arguments to coda::densplot