Exports all plots in a list to PNG files in the specified directory.

save_steps_plots(plots, output_dir = tempdir())

Arguments

plots

A named list of ggplot2 objects (from build_steps_plots()).

output_dir

Output directory path (default tempdir()).

Value

NULL (invisibly). Prints messages about saved files.

Details

Files are named:

  • 01_overview_indicators.png (12x8 in)

  • 02_by_sex_dashboard.png (12x8 in)

  • 03_bp_by_age.png (10x6 in)

  • 04_obesity_by_age.png (10x6 in)

All saved at 150 dpi with white background.