Top "Lme4" questions

lme4 is an R package for fitting and analyzing linear, nonlinear and generalized linear mixed models.

How to get coefficients and their confidence intervals in mixed effects models?

In lm and glm models, I use functions coef and confint to achieve the goal: m = lm(resp ~ 0 + var1 + var1:…

r lme4 random-effects mixed-models
Extract random effect variances from lme4 mer model object

I have a mer object that has fixed and random effects. How do I extract the variance estimates for the …

r random effects lme4
Plot random effects from lmer (lme4 package) using qqmath or dotplot: How to make it look fancy?

The qqmath function makes great caterpillar plots of random effects using the output from the lmer package. That is, qqmath …

r ggplot2 lme4 random-effects
lme4::lmer reports "fixed-effect model matrix is rank deficient", do I need a fix and how to?

I am trying to run a mixed-effects model that predicts F2_difference with the rest of the columns as predictors, …

r regression linear-regression lme4 mixed-models
Convergence error for development version of lme4

I am attempting to do a power analysis for a mixed-effects model using the development version of lme4 and this …

r lme4 convergence
warning messages when trying to run glmer in r

Dear Stack Overflow community, Currently I'm trying to rerun an old data analysis, binomial glmer model, (from early 2013) on the …

r lme4
lmer error: grouping factor must be < number of observations

I am attempting to run a mixed effect model on some data but struggling with one of the fixed effects, …

r lme4 mixed-models nlme
R-Squared of lmer model fit

I have a mixed effects model and I would like to see the R²- and p-value. I thought this …

r lme4
increase iterations for new version of lmer?

I just updated lme4 to version 1.0-4 and when I run lmer() my mixed effects model, which was converging before, …

r iteration lme4 lmer
glmer - predict with binomial data (cbind count data)

I am trying to predict values over time (Days in x axis) for a glmer model that was run on …

r glm predict lme4