| print.gg | R Documentation |
This overrides the default ggplot print method to add brackets automatically
## S3 method for class 'gg'
print(x, newpage = is.null(vp), vp = NULL, ...)
x |
A ggplot object |
newpage |
Draw on new page (default TRUE) |
vp |
Viewport to draw in |
... |
Additional arguments |
Invisibly returns the input ggplot object (classes "gg" and "ggplot").
Called for its side effects: rendering the plot to the current graphics device with the vbracket legend overlay if present.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.