Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.EV

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

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)

BayesCombo

Bayesian Evidence Combination

v1.0
GPL-3
Authors
Bruno Contrino, Stanley E. Lazic
Initial release
2017-02-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.