Learn R Programming

topolow (version 1.0.0)

ggsave_white_bg: Save ggplot with white background

Description

Wrapper around ggplot2::ggsave that ensures white background. This function masks ggplot2::ggsave.

Usage

ggsave_white_bg(..., bg = "white")

Value

No return value, called for side effects.

Arguments

...

Other arguments passed on to the graphics device function, as specified by device.

bg

Background colour. If NULL, uses the plot.background fill value from the plot theme.