| legendopts | R Documentation | 
This function takes the legend position and orientation, defined by the user and puts them into a list for ggplot2.
legendopts(legend_position = "right", legend_orientation = NULL)
legend_position | 
 Default = "right".  | 
legend_orientation | 
 Default = NULL.  | 
List of legend options for ggplot2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.