theme_legend_position | R Documentation |
Helper function for creating color palettes Syncs input to ggplot2::theme() params legend.position (i.e. the position of the legends) and legend.justification (i.e. the anchor point for positioning legend inside the plot)
theme_legend_position(position)
position |
character string to pass into ggplot2::theme(legend.position=position, legend.justification=position) |
returns ggplot2 theme() such that ggplot2::theme(legend.position=position, legend.justification=position)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.