funnel: Funnel Plot

View source: R/plot-funnel.r

funnelR Documentation

Funnel Plot

Description

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


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 June 8, 2025, 10:23 p.m.