To remove the legend in ggplot2 in R, you can use the following code:
main.r34 chars2 lines
This will remove the legend from the plot. Here's a full example:
main.r131 chars6 lines
Alternatively, you can also use legend.none() or element_blank() to remove the legend:
main.r74 chars4 lines
gistlibby LogSnag