Function for funnel plot of `pima` or `cima` objects.
Usage
# S3 method for class 'pima'
plot(
x,
title = "Funnel plot",
base_size = 16,
base_family = "",
digits = 3,
trans = c("identity", "exp")
)
Arguments
- 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
("identity"
[default] or "exp"
).
Examples
# \donttest{
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)
#> Error in funnel(piex, digits = 2, base_size = 10): could not find function "funnel"
dev.off()
#> pdf
#> 2
# }