[R] add different regression lines for groups on ggplot
yelin at lbl.gov
Fri Jul 26 21:21:23 CEST 2013
I need to apply different regression lines to different group on my ggplot,
and here is the code I use:
However the regression for different groups is as below:
How can I apply each regression equation on the same ggplot?
Also I have an issue that if I use the code above, the regression lines are
not overlapped on top of my data points.
Thanks for your help!
More information about the R-help