title: How do I include two subsets into a function such as boxplot() or qqplot()?
body: <p>I have two subsets I want to analyze,</p>
  <pre><code>subset(ClevelandHD1, presenceHD == &quot;0&quot;, select=c(maxheartrate))
  subset(ClevelandHD1, presenceHD == &quot;1&quot;, select=c(maxheartrate))
  </code></pre>
  <p>but run into errors whenever I try and place them both into a function. What should I do?</p>