[R] Question concerning ggplot

hadley wickham h.wickham at gmail.com
Tue Oct 24 13:34:02 CEST 2006


> When using
> ggsmooth(method=lm)
> is there a way to show the results of the separate linear regressions?

Do you mean doing a seperate linear regression for each group in your
data?  If so, have a look at ?gggroup for some examples of exactly
that.

Hadley



More information about the R-help mailing list