Skip to content

random effect model in R---- lmer

2 messages · AbouEl-Makarim Aboueissa, Martin Maechler

#
Dear All:


?
I am trying to run arandom effect model in R, but when I used "lmer" I got the followingerrors: Please see below.


?
library(lme4)


?
batchlevel <-c(1,1,1,2,2,2,3,3,3,4,4,4,5,5,5)


?
batch <-as.character(batchlevel)


?
yield <-c(74,76,75,68,71,72,75,77,77,72,74,73,79,81,79)


?
dataaov <-data.frame(batch,yield)


?
raneff <-lmer(yield~1+(1|batch),data=dataaov)


?
Error in get(name,envir = asNamespace(pkg), inherits = FALSE) :?

? object'.setDummyField' not found


?
summary(raneff)


?

?
?Error insummary(raneff) :?

? error inevaluating the argument 'object' in selecting a method for function 'summary':Error: object 'raneff' not found


?

?
Any help will be highlyappreciated.


?
many thanks

abou

?========================
AbouEl-Makarim Aboueissa
Sozan Elsalakawy
Mohamed Agamia

246 Auburn Street, #158
Portland, ME 04103
USA

Tel: (207) 797-2724
Email: aboueiss at yahoo.com
#
Can you please send this to the R-SIG mailing list about mixed
models??

This has *NOTHING* to do with using R for and in teaching!
> Dear All: ? I am trying to run arandom effect model in R,
    > but when I used "lmer" I got the followingerrors: Please
    > see below.


    > ? library(lme4)
    ......................

    > _______________________________________________
    > R-sig-teaching at r-project.org mailing list
    > https://stat.ethz.ch/mailman/listinfo/r-sig-teaching