plot.pima | R Documentation |
A function for plotting of 'pima' objects.
## 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"),
...
)
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. |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.