| get_funnel_plot | R Documentation |
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.
get_funnel_plot(dat, result, instrument = NULL, model_type = "MAIVE")
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"'). |
Device management (PNG/SVG/PDF, resolution, base64 encoding) is intentionally left to the caller.
Invisibly returns 'NULL'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.