Raw Message
Message-ID: <418945FE.3050103@stat.wisc.edu> Date: 2004-11-03T20:56:30Z From: Douglas Bates Subject: Newbie question: plotting regression models In-Reply-To: <NEBBIPHDAMMOKDKPOFFIEEIJCLAA.abunn@whrc.org> Regarding plotting a regression fit - for a simple linear regression model the abline function adds the fitted line to a plot. plot(optden ~ carb, Formaldehyde) abline(fm1 <- lm(optden ~ carb, Formaldehyde))