title: Subset rows using two column values
body: <p>I am trying to create a new object based on categorical values on a column but I'm stuck.
  Why does this work:</p>
  <pre><code>  filter(site==&quot;pleural&quot;)```
  
  But this not:
  
  ```datospurified3&lt;-datospurified1%&gt;%
    filter(site==&quot;pleural&quot;, &quot;peritoneal&quot;)```
  
  Error: Problem with `filter()` input `..2`. ℹ Input `..2` is `&quot;peritoneal&quot;`. x Input `..2` must be a logical vector, not a character.
  </code></pre>