Description Usage Arguments Value Author(s)
Retrieve the legend of a ggplot so that it can be used as a plot itself. This is useful in situations where you are arrange multiple ggplots and want to share a common legend.
1 | get_gg_legend(in.ggplot)
|
in.ggplot |
Input ggplot with legend |
ggplot legend
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.