Uses weights computed in adjust_weights to plot posterior quantities of interest versus specification parameters

spec_plot(
x,
by,
post,
only_mean = FALSE,
ci_level = 0.8,
outer_level = 0.95,
...
)

## Arguments

x An adjustr_weighted object. The x-axis variable, which is usually one of the specification parameters. Can be set to 1 if there is only one specification. Automatically quoted and evaluated in the context of x. The posterior quantity of interest, to be computed for each resampled draw of each specificaiton. Should evaluate to a single number for each draw. Automatically quoted and evaluated in the context of x. Whether to only plot the posterior mean. May be more stable. The inner credible interval to plot. Central 100*ci_level posterior draws. The outer credible interval to plot. Ignored.

## Value

A ggplot object which can be further customized with the ggplot2 package.

adjust_weights, summarize.adjustr_weighted

## Examples

if (FALSE) {
spec = make_spec(eta ~ student_t(df, 0, scale),
df=1:10, scale=seq(2, 1, -1/9))