title: ggplot2: Quick Heatmap Plotting, reshape?
body: <p>I'm trying to reproduce the heatmap presented on <a href="http://learnr.wordpress.com/2010/01/26/ggplot2-quick-heatmap-plotting/" rel="nofollow noreferrer">this blog</a> by following their tutorial, but when I try to run their Jan 2010-code I get an error when asking for,</p>
  
  <pre><code>nba.m &lt;- ddply(nba.m, .(variable), transform, rescale = rescale(value))
       Error in eval(expr, envir, enclos) : could not find function "rescale"
  </code></pre>
  
  <p>Reproducible code is available on the <a href="http://learnr.wordpress.com/2010/01/26/ggplot2-quick-heatmap-plotting/" rel="nofollow noreferrer">blog mentioned above</a></p>
  
  <p>I'm using ggplot2_0.9.0 and R 2.14.2. Also, I did read <a href="https://stackoverflow.com/questions/8406394/how-to-produce-a-heatmap-with-ggplot2">this thread here on stackoverflow.com</a>.</p>
  
  <p>Any ideas to what might be wrong?</p>