Plot prior distribution(s)
plot_prior(
x,
param = NULL,
facets = FALSE,
file = NULL,
replicates = 10000,
geom = ggplot2::geom_density,
...
)
Either an object of the class demografr_abc
, or a list of prior
sampling statements
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 individual parameters be plotting on a facet each?
Output file for a figure saved via ggsave
How many samples to simulate from each prior for plotting?
Either ggplot2::geom_histogram
or ggplot2::geom_density
Optional argument which will be passed to ggsave
A ggplot2 plot object