title: how to merge two r chunks together using ggplot
body: <p>I have two r chunks that makes two graphs but I want to keep them in two graphs but put them into one r chunk how would I do that</p>
  <pre><code>accidents %&gt;%
    filter(day_of_week != c(&quot;Sunday&quot;, &quot;Saturday&quot;)) %&gt;%
    ggplot(mapping = aes(x = time, fill=severity)) +
    geom_density(adjust = 2, alpha = 0.5) +
    labs(
      x = &quot;time&quot;,
      y = &quot;Density&quot;,
      title = &quot;accidents in weekdays&quot;
    )
  </code></pre>
  <pre><code>accidents %&gt;%
    filter(day_of_week == c(&quot;Sunday&quot;, &quot;Saturday&quot;)) %&gt;%
    ggplot(mapping = aes(x = time, fill=severity)) +
    geom_density(adjust = 2, alpha = 0.5) +
    labs(
      x = &quot;time&quot;,
      y = &quot;Density&quot;,
      title = &quot;accidents in weekends&quot;
    )
  </code></pre>