[R] Help with lme4 model specification
    boeinguy2 
    boeinguy2 at yahoo.com
       
    Thu May  7 17:42:42 CEST 2009
    
    
  
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 clear (and does not
>seem to be formally defined in the "standard" documentation...). In
>doubt, use parentheses.
>So try ...+(1|(S:A)/H), just in case..
This did not work.  However I did discover something that does:
AAT<- lmer(Y ~ S + A + (1|H %in% S:A), data=AT, REML=TRUE) 
Not sure why this worked.  I read that it is an alternate way of specifying
nesting.
This runs without error.
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
-- 
View this message in context: http://www.nabble.com/Help-with-lme4-model-specification-tp23415908p23428678.html
Sent from the R help mailing list archive at Nabble.com.
    
    
More information about the R-help
mailing list