[R] Three level linear mixed models

Andrew Robinson A.Robinson at ms.unimelb.edu.au
Tue Mar 7 10:42:53 CET 2006


Hm ..., at the risk of seeming facetious, can I suggest

three.layers <- lme(response ~ predictors, 
                     random = ~ 1 | one / two / three,
                     data = very.large.dataset)

??

Cheers

Andrew

On Tue, Mar 07, 2006 at 01:35:19AM -0800, Pryseley Assam wrote:
> Hello R-users
>    
>   Is it possible to fit a three level linear mixed effect model in R? 
>   If anyone has an idea or sample code, i will appreciate it very much if i can receive it. 
>    
>   I am reading the book by Pinheiro and Bates but have not come across that yet!
>    
>   Kind regards
>    
>   Pryseley
> 
> 			
> ---------------------------------
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
Andrew Robinson  
Department of Mathematics and Statistics            Tel: +61-3-8344-9763
University of Melbourne, VIC 3010 Australia         Fax: +61-3-8344-4599
Email: a.robinson at ms.unimelb.edu.au         http://www.ms.unimelb.edu.au




More information about the R-help mailing list