Raw Message
Message-ID: <4D2C0DF4.3090400@tum.de> Date: 2011-01-11T07:59:48Z From: Andreas Böck Subject: design matrix for mixed effects model Hi Wade, For a model y ~ x1 + x2 + (x1 + x2 | id) you get the random effects design matrix via model.matrix(~ 0 + id + (x1 + x2):id) Best, Andi