title: Compare values of two vectors
body: <p>I have two vectors: </p>
  
  <pre><code> a &lt;- c(23,43,54)
   x &lt;- c(1,543,65,89)
  </code></pre>
  
  <p>I would like to have a vector y of dimension 4 - <code>(dim(x))</code> which indicates how many values of the vector <code>a</code> are upper than each coefficient of the vector <code>x</code>.</p>
  
  <p>Is there a function that does this task?</p>