title: The function all() in R
body: <p>Why is it that:</p>
  
  <pre><code>&gt; 'c' %in% c('c', 'b')
  [1] TRUE
  </code></pre>
  
  <p>But</p>
  
  <pre><code>&gt; all('c' %in% c('c', 'b'))
  [1] TRUE
  </code></pre>
  
  <p>Shouldn't this be false?</p>
  
  <p>According to the documentation:</p>
  
  <blockquote>
    <p>Are All Values True?</p>
    
    <p>Description</p>
    
    <p>Given a set of logical vectors, are all of the values true?</p>
  </blockquote>
  
  <p>I gave it a set of logical vectors, and NOT ALL of the values are true.r</p>