View source: R/ggplot_theme_helpers.R
| theme_mod_disable_legend, theme_mod_legend_position | R Documentation | 
Convenience functions to control the legend position for ggplot2.
Has to be called after setting the theme.
theme_mod_disable_legend()
theme_mod_legend_position(
  position = c("top", "bottom", "left", "right", "none", "inside"),
  position.inside = NULL
)
theme_mod_legend_top()
theme_mod_legend_bottom()
theme_mod_legend_left()
theme_mod_legend_right()
theme_mod_remove_legend_title()
| position | Position of the ggplot2 legend.
Options are  | 
| position.inside | Coordinates for the legend inside the plot.
If set overwrites  | 
Changes the legend.position of the ggplot2::theme().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.