Learn R Programming

forestploter (version 1.2.0)

forestploter-package: forestploter: create a flexible forest plot

Description

The layout of the forest plot is the layout of the data given to forest, which draws the table and the confidence intervals. The other parts are added with functions that take the plot as their first argument, so they can be chained with the pipe |>:

Arguments

Author

Maintainer: Alimu Dayimu [email protected] (ORCID)

Details

  • set_xaxis Limits, tick marks and scale of the x-axis, and vertical lines

  • set_labs Title, x-axis labels, footnote, arrow labels and legend labels

  • scale_sizes Point sizes scaled by study weights

  • set_style Graphical parameters, see forest_style

The plot is a gtable at every step, so it can be drawn, saved with ggplot2::ggsave or combined with other plots. Afterwards it can be edited cell by cell with edit_plot, add_text, insert_text, add_border and add_grob.

The vignettes vignette("forestploter-intro") and vignette("forestploter-post") walk through both steps.

See Also