Plot prior or posterior distributions of multiple analyses performed with meta_sensitivity().

# S3 method for meta_sensitivity
plot(
  x,
  parameter = "d",
  distribution = "posterior",
  from,
  to,
  n = 101,
  legend = TRUE,
  ...
)

Arguments

x

prior probability density function defined via prior.

parameter

which parameter should be plotted: "d" or "tau".

distribution

which distribution should be plotted: "prior" or "posterior".

from

lower boundary

to

upper boundary

n

integer; the number of x values at which to evaluate.

legend

whether to print all prior specifications and plot a corresponding legend.

...

further arguments passed to plot

Details

For meta-analysis with model averaging via meta_bma(), plotting the model-averaged posterior of tau is not yet supported. Instead, the posterior distributions for the random effects models will be plotted.