gg2xlsx | R Documentation |
Export chunk plot to editable xlsx file
gg2xlsx(p, dir = "pic/ggsave-xlsx/", num_section = 2, num_fig, names_chunk)
p |
ggplot object. |
dir |
character. relative dir path string |
num_section |
integer. default 2 |
num_fig |
character. |
names_chunk |
character. name of chunk, from which the plot generateed. |
output xlsx file
## Not run:
p0 <- plot(1:10, 1:10)
gg2xlsx(p = p0, dir="pic/ggsave-xlsx/",
num_section = 5,num_fig = 2,
names_chunk = "ggplot-chunk")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.