knit_print.gg | R Documentation |
Print a ggplot (usually within knit_print.gglist)
## S3 method for class 'gg'
knit_print(
x,
...,
fig_prefix,
fig_suffix,
filename = NULL,
width = 6,
height = 4,
units = "in"
)
x |
The gg object (i.e. a ggplot) |
... |
Ignored |
fig_prefix |
Text to |
fig_suffix |
Any text to add after the figure |
filename |
A filename saving the plot |
width , height , units |
Plot size in |
The gg object, invisibly
Other knitters:
knit_print.gglist()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.