Apply legend visibility and position to a ggplot
Arguments
- p
A ggplot object.
- show_legend
Logical. FALSE hides the legend.
- legend_position
Legend position passed to
theme().
Apply legend visibility and position to a ggplot
A ggplot object.
Logical. FALSE hides the legend.
Legend position passed to theme().