[R-sig-ME] fit fixed-effect GLMs within each level of the random factors

David Atkins datkins at u.washington.edu
Thu Jun 3 23:43:44 CEST 2010

Ben et al.--

Methinks lmList() in lme4 package takes a family argument:


formula 	a linear formula object of the form y ~ x1+...+xn | g. In the 
formula object, y represents the response, x1,...,xn the covariates, and 
g the grouping factor specifying the partitioning of the data according 
to which different lm fits should be performed.

data 	a data frame in which to interpret the variables named in object.

family 	an optional family specification for a generalized linear model.


So, I don't think a workaround is needed.

cheers, Dave

Dave Atkins, PhD
Research Associate Professor
Department of Psychiatry and Behavioral Science
University of Washington
datkins at u.washington.edu

Center for the Study of Health and Risk Behaviors (CSHRB)		
1100 NE 45th Street, Suite 300 	
Seattle, WA  98105 	

Center for Healthcare Improvement, for Addictions, Mental Illness,
   Medically Vulnerable Populations (CHAMMP)
325 9th Avenue, 2HH-15
Box 359911
Seattle, WA 98104?

More information about the R-sig-mixed-models mailing list