title: How to add r^2 values graph in R using ggplot2?
body: <p>I am new to r but am using it for a project in which I wish to represent 3 different y values with same x value on the same scatteplot including linear regression lines for each along with the value. I don't know if what I have done so far is the best but:</p>
  
  <pre><code>leafdata.long&lt;-melt(leafdata, id="Percent.Area.Loss", measure=c("R...mean", "G.mean", "B.mean"))
  
  ggplot(leafdata.long, aes(Percent.Area.Loss, value, color=variable))+
  geom_point()+geom_smooth(method=lm, se=FALSE)+opts(title="Compiled Leaf Data")
  </code></pre>
  
  <p>Here's the plot that it produced: 
  <a href="http://imgur.com/eXNFY5d" rel="nofollow">http://imgur.com/eXNFY5d</a></p>
  
  <p>Any help with changing the x and y labels along with the legend would be appreciated also. I'm very much lost.</p>