[R] multiple GLMs with lmList in lme4

2006-01-17 Thread Daniel Farewell
I'd like to fit a GLM to each of a number of subsets of some data. The `family' argument to `lmList' (in lme4) has given me cause for optimism, but so far I've only been able to achieve linear model fits. For example df - data.frame(gp = gp.temp - factor(rep(1:3, each = 100)), x = x.temp -

Re: [R] multiple GLMs with lmList in lme4

2006-01-17 Thread Thomas Lumley
On Tue, 17 Jan 2006, Daniel Farewell wrote: I'd like to fit a GLM to each of a number of subsets of some data. The `family' argument to `lmList' (in lme4) has given me cause for optimism, but so far I've only been able to achieve linear model fits. For example df - data.frame(gp = gp.temp

Re: [R] multiple GLMs with lmList in lme4

2006-01-17 Thread Daniel Farewell
Many thanks! That'll work great. It's always good to discover a new, general, function like by(). I would still be interested to know how the family argument to lmList() should be used. Daniel Thomas Lumley [EMAIL PROTECTED] 01/17/06 3:15 pm On Tue, 17 Jan 2006, Daniel Farewell wrote: I'd

Re: [R] multiple GLMs with lmList in lme4

2006-01-17 Thread Douglas Bates
On 1/17/06, Daniel Farewell [EMAIL PROTECTED] wrote: Many thanks! That'll work great. It's always good to discover a new, general, function like by(). I would still be interested to know how the family argument to lmList() should be used. As you have discovered the family argument has no