Re: [R] obtain linear regression parameters from qplot

2009-08-11 Thread ONKELINX, Thierry
not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens Jong Hoon Choi Verzonden: dinsdag 11 augustus 2009 3:26 Aan: r-help@r-project.org Onderwerp: [R] obtain

[R] obtain linear regression parameters from qplot

2009-08-10 Thread Jong Hoon Choi
Hi, My question is how to get linear regression parameters (e.g. slope, y-intercept, etc.) from the fittings in qplot. My code looks like this, Fig1 = qplot(data=subset(totalD, (Name=="increase1"), x=Time, y=Intensity, main="Total Data") Fig1 + stat_smooth(method="lm") I can get the linear regre

[R] obtain linear regression parameters from qplot

2009-08-10 Thread Jonghoon Choi
Hi, My question is how to get linear regression parameters (e.g. slope, y-intercept, etc.) from the fittings in qplot. My code looks like this, Fig1 = qplot(data=subset(totalD, (Name=="increase1"), x=Time, y=Intensity, main="Total Data") Fig1 + stat_smooth(method="lm") I can get the linear regre