Displaying 1 result from an estimated 1 matches for "spar_loc".
2009 May 06
2
Help with lme4 model specification
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.default(mt, mf, contrasts) :
variable 'Spar_loc' converted to a factor
2: In Spar_loc:`:` :
numerical expression has 720 elements: only the first used
I am having trouble specifying th random component. It should...