Plot posterior distribution of given parameters
plot_posterior(
abc,
param = NULL,
posterior = c("adj", "unadj"),
facets = FALSE,
file = NULL,
...
)
ABC object generated by run_abc
A character vector containing either parameter names to summarize,
or a regex-like matches to be used for subsetting. If NULL
(the default),
all parameters will be extracted.
Should an "adj"-usted or "unadj"-usted posterior be extracted? (Default is "adj").
Should individual distributions be plotted in separate facets? Default
is FALSE
.
Output file for a figure saved via ggsave
Optional argument which will be passed to ggsave
A ggplot2 plot object