title: ggplot2 return values
body: <p>The documentation for <code>ggplot2</code>'s <code>stat_bin</code> function states that it <strong>returns</strong> a new data frame with additional columns. How does one actually get access to this data frame?</p>
  
  <p>Is it possible?</p>
  
  <pre><code>simple &lt;- data.frame(x = rep(1:10, each = 2))
  tmp &lt;- stat_bin(data=simple, binwidth=0.1, aes(x))
  </code></pre>
  
  <p>I have figured out that <code>tmp</code> is an environment, and <code>ls(tmp)</code> will show what objects are in the environment, but after exploring each of these objects, I'm not seeing anything like what is described as a return value.</p>