title: How to remove "rows" with a NA value?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4862178/r-remove-rows-with-nas-in-data-frame">R - remove rows with NAs in data.frame</a>  </p>
  </blockquote>
  
  
  
  <p>How can I quickly remove "rows" in a dataframe with a NA value in one of the columns?</p>
  
  <p>So</p>
  
  <pre><code>     x1  x2
  [1,]  1 100
  [2,]  2  NA
  [3,]  3 300
  [4,] NA 400
  [5,]  5 500
  </code></pre>
  
  <p>should result in:</p>
  
  <pre><code>     x1  x2
  [1,]  1 100
  [3,]  3 300
  [5,]  5 500
  </code></pre>