title: elementwise and on multiple vectors in R
body: <p>I have several vectors and I would like to <code>&amp;</code> them together (i.e. I would <code>&amp;</code> all the the first elements of each vector, all the second, etc.). Assume they are all of equal length. The result should be a logical vector of the same length as the individual vectors. </p>
  
  <p>I thought of doing this but it did not work:</p>
  
  <pre><code>a = c(NA, 1, 2, 3)
  b = c(0, 1, 2, 3)
  d = c(NA, 1, NA, 3)
  do.call("&amp;", list(a, b, d))
  # Error in do.call("&amp;", list(a, b, d)) : binary operations require two arguments
  </code></pre>