title: How to subset a data frame by taking only the Non NA values of 2 columns in this data frame
body: <p>I am trying to subset a data frame by taking the integer values of 2 columns om my data frame</p>
  
  <pre><code>Subs1&lt;-subset(DATA,DATA[,2][!is.na(DATA[,2])] &amp; DATA[,3][!is.na(DATA[,3])])
  </code></pre>
  
  <p>but it gives me an error :  longer object length is not a multiple of shorter object length.</p>
  
  <p>How can I construct a subset which is composed of NON NA values of column 2 AND column 3?</p>
  
  <p>Thanks a lot?</p>