View source: R/knit_print.gg.R
| knit_print.gg | R Documentation | 
Print a ggplot object with space around it
## S3 method for class 'gg'
knit_print(
  x,
  ...,
  fig_prefix,
  fig_suffix,
  filename = NULL,
  width = 6,
  height = 4,
  units = "in"
)
x | 
 The plot object  | 
... | 
 Passed to   | 
fig_prefix | 
 See   | 
fig_suffix | 
 Character strings passed to   | 
filename | 
 Save the figure to the filename, if provided  | 
width, height, units | 
 passed to   | 
x invisibly
knit_print.gg_list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.