title: Finding maximum of two vectors without a loop?
body: <p>If there are two vectors, say <code>x</code> and <code>y</code>. </p>
  
  <pre><code>for (i in 1:length(x))
     z[i] = max(x[i],y[i])
  </code></pre>
  
  <p>Can you please help me to perform this without using a loop?</p>