funnel: Funnel Plot

Description Usage Arguments Examples

View source: R/plot-funnel.r

Description

Function for funnel plot of 'pima' or 'cima' objects.

Usage

1
2
3
## 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

1
2
3
4
5
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()

nshi-stat/pimeta documentation built on May 5, 2020, 8:01 p.m.