title: How to assign a same value as the argument to a vector of functions in R?
body: <p>I have this code in R:</p>
  
  <pre><code>RdWh &lt;- colorRampPalette(c("red", "white"))
  GrWh &lt;- colorRampPalette(c("green", "white"))
  BlWh &lt;- colorRampPalette(c("blue", "white"))
  color.gradient.3 &lt;- c(RdWh, GrWh, BlWh)
  </code></pre>
  
  <p>Then I want to get a vector</p>
  
  <pre><code>c(RdWh(10), GrWh(10), BlWh(10))
  </code></pre>
  
  <p>How to achieve this?</p>