Save ggplot2 plots in the right size
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | arc_save(
filename,
object = ggplot2::last_plot(),
width = 169.333,
type = "normal",
height = NULL
)
arc_save_tall(filename, object = ggplot2::last_plot())
arc_save_very_tall(filename, object = ggplot2::last_plot())
arc_save_extremely_tall(filename, object = ggplot2::last_plot())
arc.save(
filename,
object = ggplot2::last_plot(),
width = 169.333,
type = "normal",
height = NULL
)
arc.save.tall(filename, object = ggplot2::last_plot())
arc.save.very.tall(filename, object = ggplot2::last_plot())
arc.save.extremely.tall(filename, object = ggplot2::last_plot())
|
filename |
Name of the file the save, including extension. |
object |
ggplot2 object to save. |
width |
169.333 |
type |
Chart type (ie. height). Options include:
|
height |
NULL by default. When non-null, overrides the value set by 'type'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.