Re: [R] Error message glmer using R: “ 'what' must be a character string or a function”

2013-11-05 Thread EmmaB
> str(new) 'data.frame': 1214 obs. of 4 variables: $ ï..VAR1 : logi NA NA NA NA NA NA ... $ random : int 1 1 1 1 1 1 1 1 1 1 ... $ clustno : int 1 1 1 1 1 1 1 1 1 1 ... $ validatedRS6: int 0 0 0 0 0 0 0 0 0 0 ... -- View this message in context: http://r.789695.n4.nabble

[R] Error message glmer using R: “ 'what' must be a character string or a function”

2013-11-05 Thread EmmaB
I am running a multi-level model. I use the following commands with validatedRS6 as the outcome, random as the predictor and clustno as the random effects variable. new<-as.data.frame(read.delim("BABEX.dat", header=TRUE)) install.packages("lme4") library(lme4) model1<- glmer(validatedRS6 ~ random