Plots a prior density after applying the same deterministic coefficient transformation used for formula-scale back-transforms. The helper supports continuous densities and point-mass priors in the same plot.
plot_transformed_prior(
prior_list,
column_names,
formula_scale = NULL,
parameter,
n_points = 1000,
x_range = NULL,
transformation = NULL,
transformation_arguments = NULL,
transformation_settings = FALSE,
plot_type = c("base", "ggplot"),
par_name = NULL,
...
)For plot_type = "base", invisibly returns base-plot metadata.
For plot_type = "ggplot", returns a ggplot object. Returns
NULL when the requested parameter is an identity transform and no
output transformation was requested.
named list of prior distributions.
character vector of coefficient column names defining the fitted parameter space.
optional nested formula-scale metadata, in the same shape
as attr(fit, "formula_scale").
coefficient name to plot.
number of plotting points.
optional plotting range on the untransformed scale.
optional output transformation passed to the prior plotting machinery.
optional list of transformation arguments.
whether x_range is supplied on the
transformed scale.
either "base" or "ggplot".
optional plotting label.
additional plotting arguments.
plot_prior_list() transform_scale_samples()