plot.metaanalysis | R Documentation |
Forestplot for metaanalysis object.
## S3 method for class 'metaanalysis'
plot(x, type = "both", xlims = NULL, ...)
x |
metaanalysis object from the RTSA package. |
type |
Define whether or not both fixed-effect and random-effects meta-analysis results should be printed on the plot. Options are: "fixed", "random" or "both". Default is "both". |
xlims |
Set default limits on the outcome scale. Default is NULL. |
... |
Additional arguments |
# Example with OR
ma <- metaanalysis(data = coronary, outcome = "OR")
plot(ma)
# Example with RR
ma <- metaanalysis(data = perioOxy, outcome = "RR")
plot(ma)
# Example with MD
ma <- metaanalysis(data = eds, outcome = "MD")
plot(ma, type = "random")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.