Change the position of the legend in a ggplot2 plot – Snippet #74

Discover how to change the position of the legend in a ggplot2 plot with R