title: ggplot - plotting 2 different graphs next to each other
body: <p>How would I go about putting 2 box plots next to each other?</p>
  
  <p>For instance, say I want to compare "Average goals scored per game at home" with "Average goals conceded per game at home" across 3 football leagues, and for this purpose would like to use 2 box plots next to each other on the same graph (i.e. same axes) to give an accurate visual representation.</p>
  
  <p>I have no problem plotting 1 box plot, but I don't know how to put the 2 plots on the same axes. I saw an explanation using the "maps" library, is that the only way?</p>
  
  <p>For reference, my data looks something like this:</p>
  
  <pre><code>    Team Name    Total number of home games  Total goals scored at home  Total Goals conceded at home League
  </code></pre>
  
  <p>Code for a single box plot:</p>
  
  <pre><code>ggplot(data=final, aes(x=factor(League),
  y=(((GS.Home/Total.Home.Games))), colour=League)) + 
  geom_boxplot() + geom_point() + stat_summary(fun.y=mean,
  geom="point", shape=5, size=4)+ xlab("League")+ 
  ylab("Avg goals scored per Home Game")+ 
  ggtitle("Average points per Home Game across Leagues")
  </code></pre>