My data is ratio data. So I'm trying to use lme4 with binomail to analyze it. Here is my code: fate.reP = glmer(predated~type+(1|island),data=fate.rate,family="binomial") here is a sample set of data: type cluster tree predated B B7-1 1 0.48 B B7-1 2 0.66 B B7-2 3 0.18 M I63 8 0.55...

I'm trying to understand the linear algebra operations behind the lmer function in R, and I found what seemed to be a great resource on-line on a lecture given by the creator of the lme4 package, Douglas Bates. The example deals with the dataset Dyestuff and calls for a mixed-effects...

this is probably a "stupid" question, but I need to obtain the latent trait scores from a merMod object (lme4 package). Also, I don't seem to find any explanation of the values in the merMod object. It would be helpful for me to know what the mu, wtres, eta, u,...

I apologize for the novice question, but am new to lme4. I am using lme4 to model the survival of bee colonies among six sites composed of varying types of land use over three years and have produced the following model after already eliminating other competing models using REML: land1=lmer(asin(sqrt(prop_survival))~log(area_forage_uncult)...

I have a question regarding the extraction of the (raw) model matrix of random effects from models fitted with lmer (lme4) in R. More specifically, I want to obtain a data frame or a matrix that contains all variables that are involved in random effects terms. The matter is further...