Skip to contents

Knits the plot as a child chunk so its size can differ from the calling chunk. Must be called from a chunk with results: asis.

Usage

print_sized_plot(plot, fig_width, fig_height)

Arguments

plot

A ggplot.

fig_width, fig_height

Figure size in inches.

Value

NULL, invisibly.