Description Usage Arguments
View source: R/extract_legend.R
extract the legend of a ggplot object
ggplot
1
extract_legend(plot)
plot
a ggplot object
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.