Re: [R] lmer - error message

2012-02-17 Thread Joshua Wiley
Hi Sean, Thanks for the data. Your first problem is that Age is a factor with 14 levels. Second, Year is a factor with 16 levels. Now consider what interactions of these will be---factors with a huge number of levels, exceeding what is reasonable to fit to your size of data. I included inline

Re: [R] lmer - error message

2012-02-17 Thread ilai
I think my problem is that I can't >> incorporate the 'lake' variable in a fixed-effect interaction because it is >> only has one binary observation.  But I don't know what to do to be able to >> fit this model.  Any help would be greatly appreciated! >> -Sean > >  In principle you should be able

Re: [R] lmer - error message

2012-02-17 Thread Ben Bolker
Sean Godwin gmail.com> writes: > > Hi all, > > I am fairly new to mixed effects models and lmer, so bear with me. > > Here is a subset of my data, which includes a binary variable (lake (TOM or > JAN)), one other fixed factor (Age) and a random factor (Year). > lake FishID Age Increment Year

[R] lmer - error message

2012-02-16 Thread Sean Godwin
Hi all, I am fairly new to mixed effects models and lmer, so bear with me. Here is a subset of my data, which includes a binary variable (lake (TOM or JAN)), one other fixed factor (Age) and a random factor (Year). lake FishID Age Increment Year 1 TOM 1 1 0.304 2007 2 TOM

Re: [R] lmer Error message

2010-02-06 Thread Douglas Bates
On Sat, Feb 6, 2010 at 4:45 AM, Martin Bulla wrote: > Does anybody knows what this error message means: Error in object$terms : $ > operator not defined for this S4 class The error message means what it says and it doesn't come from lmer, it comes from the drop1 function being applied to a model

Re: [R] lmer Error message

2010-02-06 Thread David Winsemius
On Feb 6, 2010, at 5:45 AM, Martin Bulla wrote: Does anybody knows what this error message means: Error in object $terms : $ operator not defined for this S4 class I have peformed the following steps: library(lattice) library(Matrix) library(lme4) inkm inkm$Gamie glm.incm drop1(glm

[R] lmer Error message

2010-02-06 Thread Martin Bulla
Does anybody knows what this error message means: Error in object$terms : $ operator not defined for this S4 class I have peformed the following steps: library(lattice) library(Matrix) library(lme4) inkm inkm$Gamie glm.incm drop1(glm.incm,test="Ch") Error in object$terms : $ operato