search for: taskdist

Displaying 1 result from an estimated 1 matches for "taskdist".

Did you mean: massdist
2011 Nov 14
1
lme4:glmer with nested data
...to the description of the package ?lme4?, I should write: print(Model.02<-glmer(y~task*dist+(1|indiv)+(1|task:dist)) 3- according to the text -book ?The R book? I understand that I should do the following (as mentioned for the ratliver treatment-dataset): rename factor levels to unique labels: taskdist<-task:dist taskdistindiv<-task:dist:indiv print(Model.03<-glmer(y~task+(1|taskdist)+(1|taskdistindiv))) Or, pooling 1 and 3 together myself I would end up with: print(Model.04<-glmer(y~dist*task+(1|indiv)+(1|task:dist)+(1|dist:indiv)) I doubt that all of them actually describe correct...