View source: R/f_classFunctions.R
plot.openEBGM | R Documentation |
Plot an openEBGM object
## S3 method for class 'openEBGM'
plot(x, y = NULL, event = NULL, plot.type = "bar", ...)
x |
An openEBGM object constructed by |
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 |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.