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

plot.openEBGM

Plot an openEBGM object


Description

Plot an openEBGM object

Usage

## S3 method for class 'openEBGM'
plot(x, y = NULL, event = NULL, plot.type = "bar", ...)

Arguments

x

An openEBGM object constructed by ebScores()

y

Unused parameter to satisfy generic function requirement

event

An (optional) specification of an event to subset the data by.

plot.type

A character vector specifying which type of plot should be output. See details.

...

Arguments to be passed to methods

Details

There are three different types of plots that the plot function may produce when called on an openEBGM object. These are

  • bar

  • shrinkage

  • histogram

A bar chart displays the top ten product-symptom EBGM scores, as well as error bars which display the highest and lowest of the quantiles chosen at the time of instantiating the openEBGM object. A shrinkage plot plots EBGM score on the y axis, and the natural log of the RR on the x axis. This plot is also called a squid plot and was conceived by Stuart Chirtel. Finally, a histogram simply displays a histogram of the EBGM scores.


openEBGM

EBGM Disproportionality Scores for Adverse Event Data Mining

v0.8.3
GPL-2 | GPL-3
Authors
John Ihrie [cre, aut], Travis Canida [aut], Ismaïl Ahmed [ctb] (author of 'PhViD' package (derived code)), Antoine Poncet [ctb] (author of 'PhViD'), Sergio Venturini [ctb] (author of 'mederrRank' package (derived code)), Jessica Myers [ctb] (author of 'mederrRank')
Initial release

We don't support your browser anymore

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