get_funnel_plot: Draw a funnel plot (base graphics)

View source: R/funnel_plot.r

get_funnel_plotR Documentation

Draw a funnel plot (base graphics)

Description

High-level wrapper that accepts the original input data and the result returned by 'maive()' / 'waive()', prepares the necessary vectors/metadata, and draws the funnel plot on the currently active graphics device.

Usage

get_funnel_plot(dat, result, instrument = NULL, model_type = "MAIVE")

Arguments

dat

Data frame containing at least numeric columns 'bs' (effect sizes) and 'sebs' (standard errors).

result

Result list returned by 'maive()' or 'waive()'.

instrument

Optional indicator (0/1). If 'NULL', inferred from 'result'.

model_type

Label used for plot text/legend (e.g., '"MAIVE"' or '"WAIVE"').

Details

Device management (PNG/SVG/PDF, resolution, base64 encoding) is intentionally left to the caller.

Value

Invisibly returns 'NULL'.


MAIVE documentation built on Aug. 20, 2026, 9:06 a.m.