title: Multiple boxplots placed side by side for different column values in ggplot
body: <p>I have read different posts like <a href="https://stackoverflow.com/questions/19705039/multiple-boxplots-for-multiple-conditions-in-r">this</a> and <a href="https://stackoverflow.com/questions/14785530/ggplot-boxplot-of-multiple-column-values">this</a> but my problem has a small variation. I have a df like this </p>
  
  <pre><code>ID &lt;- c("DJ45","DJ46","DJ47","DJ48","DJ49","DJ53","DJ54","DJ55","DJ56","DJ57")
  Tool &lt;- c("Tool_A", "Tool_A", "Tool_A", "Tool_A", "Tool_A", "Tool_B", "Tool_B", "Tool_B", "Tool_B", "Tool_B")
  Name &lt;- c("CMP", "CMP", "CMP", "CMP", "CMP", "CMP", "CMP", "CMP", "CMP", "CMP")
  MS1 &lt;- c(51,55,50,59,50,47,48,42,43,46)
  MS2 &lt;- c(13,11,14,11,10,17,18,17,20,21)
  MS3 &lt;- c(2,3,2,5,6,4,9,6,4,4)
  MS4 &lt;- c(16,13,14,11,16,16,18,16,19,15)
  MS5 &lt;- c(3,6,3,6,3,4,4,8,5,4)
  MS6 &lt;- c(7,7,5,5,8,9,8,6,6,9)
  
  df1 &lt;- data.frame(ID,Tool,Name,MS1,MS2,MS3,MS4,MS5,MS6)
  </code></pre>
  
  <p>I am trying to find statistically how different the tools (Tool_A &amp; Tool_B) are at different measurement steps and hence I do a t-test. </p>
  
  <pre><code>t.test(MS1 ~ Tool, df1)
  </code></pre>
  
  <p>I do the boxplot using ggplot for visualizing but here I do it for 1 of the steps.   </p>
  
  <pre><code>p &lt;- ggplot(df1, aes(factor(Tool), MS6))
  p + geom_boxplot(aes(fill = Tool)) + labs(title = "CMP")
  </code></pre>
  
  <p>I want to wrap everything under a common title(CMP) by placing the boxplots side by side for all the 6 measurement steps. Can facet_wrap do this? I am just not able to get it right. Kindly provide suggestions. </p>