plot.meta_sensitivity: Plot Sensitivity Analysis for Meta-Analysis

Description Usage Arguments Details See Also

View source: R/meta_sensitivity.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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()


metaBMA documentation built on March 17, 2021, 9:06 a.m.