title: How to combine multiple conditions to subset a data-frame using "OR"?
body: <p>I have a data.frame in R.  I want to try two different conditions on two different columns, but I want these conditions to be inclusive. Therefore, I would like to use "OR" to combine the conditions.  I have used the following syntax before with lot of success when I wanted to use the "AND" condition.</p>
  
  <pre><code>my.data.frame &lt;- data[(data$V1 &gt; 2) &amp; (data$V2 &lt; 4), ]
  </code></pre>
  
  <p>But I don't know how to use an 'OR' in the above.</p>