View source: R/util_rmarkdown.R
ggplot_split_legend | R Documentation |
split a ggplot object into 2 ggplots; original plot minus legend and only the legend
ggplot_split_legend(p)
p |
ggplot object |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.