funnel | R Documentation |
Function for funnel plot of 'pima' or 'cima' objects.
## S3 method for class 'pima'
plot(
x,
title = "Funnel plot",
base_size = 16,
base_family = "",
digits = 3,
trans = c("identity", "exp")
)
x |
'pima' or 'cima' object to plot |
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. |
trans |
transformation for logarithmic scale outcomes
( |
data(sbp, package = "pimeta")
piex <- pimeta::pima(sbp$y, sbp$sigmak, method = "HTS")
cairo_pdf("forestplot.pdf", width = 5, height = 5, family = "Arial")
funnel(piex, digits = 2, base_size = 10)
dev.off()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.