Re: [R] How to extract one of four plots in a linear regression model

2010-02-25 Thread Alain Guillet
Hi, You can extract a plot in using the option which in specifying the number of the plot (from 1 to 6). For example: > plot(lm.D9, which=1) Regards, Alain Guillet On 25-Feb-10 16:50, FMH wrote: Dear All, A linear regression model could be fitted by using lm function and the plot functio

[R] How to extract one of four plots in a linear regression model

2010-02-25 Thread FMH
Dear All, A linear regression model could be fitted by using lm function and the plot function can be used to check the assumption of the model. The help menu shows few instances on suitable coding for fitting such a linear model. In addition, four different plots could be extracted simultaneo