On 17/11/2010 10:28 AM, Manderscheid Katharina wrote:
hi all,
after fitting a multiple linear regression
model<- lm(y ~ a + b+ c+d)
i wanted to plot diagnostics
plot(model)
but get the error message
Error in object$coefficients : $ operator is invalid for atomic vectors.
which does not make a lot of sense, since there is no "$" - i am working with 
an attached dataset.
can anyone help, please??
thanks a lot,
kat


I just tried those lines (with fake data for a,b,c,d and y) and got no error message. I was using R 2.12.0.

I think you need to show us a reproducible example, and the sessionInfo() to go with it, to help with this.

Duncan Murdoch

______________________________________________
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