Hi all,

I fitted a model  say with five

xc<-lm(  y~x1,x2,x3,x4,x5)

I want to plot the residuals for each factor and I used this,

plot(xc,residuals=TRUE,se=TRUE,pch=".")

I only get the plot of the last factor (i.e., x5). I think it is
overwriting.

How can I send  the five plots into  a file?  I usually use cut and paste
and this may not be the right thing to do.

Thanks in advance

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to