Re: [R] Help with lme4 model specification

2009-05-07 Thread boeinguy2
Thanks for your response. >This is suspicious : Spar_loc doesn't appear in your statement... Yes Spar_loc should look suspicious. I posted the real error messages but hid the variable names in the model. Spar_loc is the original form of S. >The precedence of modelling operators is not very c

Re: [R] Help with lme4 model specification

2009-05-07 Thread boeinguy2
experiment died of. > ~ Sir Ronald Aylmer Fisher > > The plural of anecdote is not data. > ~ Roger Brinner > > The combination of some data and an aching desire for an answer does not > ensure that a reasonable answer can be extracted from a given body of > data. >

[R] Help with lme4 model specification

2009-05-06 Thread boeinguy2
I am new to R and am trying to specify a model for mixed model analysis. When I run the following model I get an error: AAT<- lmer(Y ~ S + A + (1|S:A/H), data=AT, REML=True) The error looks like this: Error in Spar_loc:`:` : NA/NaN argument In addition: Warning messages: 1: In model.matrix.def