Skip to contents

Create reproducible code for current forestplot

Usage

forest_reprex(forestplot, unfold = FALSE)

Arguments

forestplot

output from forest_plot()

unfold

unfold the forest_plot function? (logical/scalar; default = FALSE)

Note

Unfolding the code (unfold = T) will generate a code snippet that uses the forestploter package functions directly; the resulting code does not require the gst package.

WARNING: This function will not create a perfect reprex if you use the ... argument in forest_plot