plot.EV {BayesCombo}R Documentation

Plot of posterior probabilities for each hypothesis

Description

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

Usage

## 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

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)

[Package BayesCombo version 1.0 Index]