lme4 "package" etc {Re: [R] lme4 --> GLMM}

Douglas Bates bates at stat.wisc.edu
Tue Feb 8 12:43:32 CET 2005


Martin Maechler wrote:
>>>>>>"Pavel" == Pavel Khomski <pkhomski at wiwi.uni-bielefeld.de>
>>>>>>    on Tue, 08 Feb 2005 10:20:03 +0100 writes:
> 
> 
> 
>     Pavel> this is a question, how can i specify the random part
>     Pavel> in the GLMM-call (of the lme4 library) for compound
>     Pavel> matrices just in the the same way as they defined in
>     Pavel> the lme-Call (of the nlme library).  

The GLMM function in the lme4 package allows you to specify crossed 
random effects within the random argument without the need for the 
pdBlocked and pdIdent constructions.  Simply ensure that your grouping 
factors are defined in such a way that each distinct group has a 
different level in the grouping factor (this is usually not a problem 
for crossed grouping factors but can be a problem with nested factors) 
and list them.  For example

   random = list(rows = ~ 1, columns = ~1)




More information about the R-help mailing list