[R-sig-teaching] lmer

Yahoo! aboueiss at yahoo.com
Mon Dec 22 00:45:51 CET 2014


Dear All:
I am trying to run a random effect model in R, but when I used "lmer" I got the following errors: 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 in summary(raneff) :   error in evaluating the argument 'object' in selecting a method for function 'summary': Error: object 'raneff' not found

Any help will be highly appreciated.
many thanksabou

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

246 Auburn Street, #158
Portland, ME 04103
USA

Tel: (207) 797-2724
Email: aboueiss at yahoo.com
	[[alternative HTML version deleted]]



More information about the R-sig-teaching mailing list