title: R: Two columns and trying to make a density or boxplot. How do I stack them
body: <p>I have a dataframe that essentially looks like the following</p>
  <pre><code>score1   score2
  1        1
  2        2
  3        3
  4        4
  5        5
  </code></pre>
  <p>They represent two different groups and I am trying to create a boxplot to compare them side by side. Is there a) a way of generating a boxplot or density plot with this data or b) a way of stacking them on top of each other to generate a dataframe that can be used to make such a plot? Here is the dataframe:</p>
  <pre><code>score1 &lt;- c(1,2,3,4,5)
  score2 &lt;- c(1,2,3,4,5)
  df &lt;- data.frame(score1, score2)
  </code></pre>