[R] lmer Error message

David Winsemius dwinsemius at comcast.net
Sat Feb 6 15:48:47 CET 2010


On Feb 6, 2010, at 5:45 AM, Martin Bulla wrote:

> Does anybody knows what this error message means: Error in object 
> $terms : $ operator not defined for this S4 class
>
> I have peformed the following steps:
>
>
>> library(lattice)
>
>> library(Matrix)
>
>> library(lme4)
>
>> inkm inkm$Gamie glm.incm drop1(glm.incm,test="Ch") Error in object 
>> $terms : $ operator not defined for this S4 class
>

Is that a complete representation of your console? It doesn't look  
syntactically valid R as it came across to my mail-client, and it  
produces a different error message when pasted into my console.  
Shouldn't there be an operator after "inkm " (perhaps ";" if you  
wanted to see "inkm" before doing work on it)? And what is "inkm"? You  
are asked to offer reproducible examples. Did you want to assign the  
result of drop1() to glm.incm. If so,  a "<-" would be needed, and I  
at least don't see one.

So either your mail-client is not transmitting punctuation the same  
way some ((most?) of us are used to seeing it, or you have come from a  
programming world that is quite different than R.

>
> Your suggestin would be of a greatl help to me,
> Martin
>
> ______________________________________________
> R-help at 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.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT



More information about the R-help mailing list