plot.pima {pimeta} | R Documentation |
Plot Results
Description
A function for plotting of 'pima' objects.
Usage
## S3 method for class 'pima'
plot(x, y = NULL, title = "Forest plot",
base_size = 16, base_family = "", digits = 3, studylabel = NULL,
ntick = NULL, trans = c("identity", "exp"), ...)
Arguments
x |
'pima' object to plot |
y |
is not used |
title |
graph title |
base_size |
base font size |
base_family |
base font family |
digits |
a value for digits specifies the minimum number of significant digits to be printed in values. |
studylabel |
labels for each study |
ntick |
the number of x-axis ticks |
trans |
transformation for logarithmic scale outcomes
( |
... |
further arguments passed to or from other methods. |
Examples
data(sbp, package = "pimeta")
piex <- pimeta::pima(sbp$y, sbp$sigmak, method = "HTS")
cairo_pdf("forestplot.pdf", width = 6, height = 3, family = "Arial")
plot(piex, digits = 2, base_size = 10, studylabel = sbp$label)
dev.off()
[Package pimeta version 1.1.3 Index]