title: Calling rnorm with a vector of means
body: <p>When I call <code>rnorm</code> passing a single value as mean, it's obvious what happens: a value is generated from Normal(10,1). </p>
  
  <pre><code>y &lt;- rnorm(20, mean=10, sd=1)
  </code></pre>
  
  <p>But, I see examples of a whole vector being passed to <code>rnorm</code> (or <code>rcauchy</code>, etc..); in this case, I am not sure what the R machinery really does. For example:</p>
  
  <pre><code>a = c(10,22,33,44,5,10,30,22,100,45,97)
  y &lt;- rnorm(a, mean=a, sd=1)
  </code></pre>
  
  <p>Any ideas?</p>