Description Usage Arguments Value
View source: R/gg_get_legend.R
gg_get_legend()
gets the legend from a ggplot object and returns as a
gtable grob.
1 | gg_get_legend(gg)
|
gg |
object inheriting from |
gtable, grob
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.