title: What is the opposite of %in% in r
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5831794/opposite-of-in">Opposite of %in%</a>  </p>
  </blockquote>
  
  
  
  <p>What is the opposite of </p>
  
  <pre><code>matrix[matrix%in%1,]?
  
  !%in% does not work.
  </code></pre>
  
  <p>I would like to select items that do not contain a certain number.</p>