[R] logistic Regression using lmer

Ben Bolker bbolker at gmail.com
Sat Nov 12 16:09:31 CET 2011


arunkumar1111 <akpbond007 <at> gmail.com> writes:

> 
> Hi
> 
> can we perform logistic regression using lmer function. Please help me with
> this
> 

  Yes.  
  
  library(lme4)
  glmer([reponse]~[fixed effects (covariates)]+(1|[grouping variable]),
data=[data frame], family=binomial)

  Further questions on this topic should probably go to the
r-sig-mixed-models mailing list.



More information about the R-help mailing list