plot.meta_sensitivity {metaBMA}R Documentation

Plot Sensitivity Analysis for Meta-Analysis

Description

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

Usage

## S3 method for class '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.

See Also

meta_sensitivity()


[Package metaBMA version 0.6.9 Index]