plot.EV: Plot of posterior probabilities for each hypothesis

Description Usage Arguments Details Value See Also Examples

View source: R/plot.EV.R

Description

Shows how the posterior probabilities evolve as each study is added to the analysis.

Usage

1
2
## S3 method for class 'EV'
plot(x, leg.loc = "topleft", lty = 1, ...)

Arguments

x

An object of the class EV created by the ev.combo() function.

leg.loc

Location of the legend; default is top left. See the legend() help pages for all the options.

lty

An vector of integers that specifies the line types. See the matplot() function for details.

...

Other options passed to matplot().

Details

Each line in the graph is a hypothesis and the lines start at the prior hypothesis probabilities (usually 1/3).

Value

Plot of posterior probabilities for each hypothesis.

See Also

ev.combo

Examples

1
2
3
x <- ev.combo(beta = c(0.0126, 5.0052, 1.2976, 0.0005),
       se.beta = c(0.050, 2.581, 2.054, 0.003) )
plot(x)

BayesCombo documentation built on May 29, 2017, 10:21 a.m.