On 2010-11-25 02:25, Manderscheid Katharina wrote:
this problem seems to only exist in R 2.12.0 but not in R  2.11.1.
any ideas? a bug?


Duncan *did* say that he was using  R 2.12.0. So that's not likely
to be the problem. Most of the time, when users claim that a
problem exists in a new version that did not exist in an older
version, it's due to a change in the user's setup or to not
updating packages or to not checking the NEWS file.

Since you still have not provided a *reproducible* example,
it's not likely that anyone can help. Can't you make up a
small example that shows exactly how you are using lm()
and that will generate the error?

Peter Ehlers


----------------------------------------------
dr. katharina manderscheid

soziologisches seminar
universität luzern

kasernenplatz 3
6000 luzern 7

tel. ++41 41 228 4657

web: http://www.unilu.ch/deu/dr.-katharina-manderscheid_346380.aspx

-----Ursprüngliche Nachricht-----
Von: Duncan Murdoch [mailto:murdoch.dun...@gmail.com]
Gesendet: Mittwoch, 17. November 2010 16:33
An: Manderscheid Katharina
Cc: 'r-help@r-project.org'
Betreff: Re: [R] Problem with plotting diagnostics - Error in 
object$coefficients : $ operator is invalid for atomic vectors

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.

______________________________________________
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