knit_print.gg: Print a ggplot object with space around it

View source: R/knit_print.gg.R

knit_print.ggR Documentation

Print a ggplot object with space around it

Description

Print a ggplot object with space around it

Usage

## S3 method for class 'gg'
knit_print(
  x,
  ...,
  fig_prefix,
  fig_suffix,
  filename = NULL,
  width = 6,
  height = 4,
  units = "in"
)

Arguments

x

The plot object

...

Passed to print.

fig_prefix

See fig_suffix

fig_suffix

Character strings passed to cat before and after printing x (if not missing).

filename

Save the figure to the filename, if provided

width, height, units

passed to ggplot2::ggsave()

Value

x invisibly

See Also

knit_print.gg_list


billdenney/bsd.report documentation built on Jan. 16, 2024, 12:54 a.m.