Folks

In trying to use lmer for a hierarchical model, I encountered the 
following message:


Error in UseMethod("VarCorr") :
   no applicable method for 'VarCorr' applied to an object of class "mer"

foo.mer <- lmer(y ~ TP + (TP|M),data=joe.q)

 > head(joe.q[,1:5])
   TP   M AB Trt        y
1  1 Jan  A  NN 19.20002
2  1 Jan  A  NN 19.06378
3  1 Jan  A  NN 21.36292
4  1 Jan  A  NN 16.85191
5  1 Jan  A   N 17.89363
6  1 Jan  A   N 15.53853
I tried this through the display(foo.mer) from arm and by VarCorr(foo.mer)
My understanding is the VarCorr was essentially designed to work with 
'mer' objects. Am I wrong about this?  The lmer procedure seemed to work 
fine

-- 
David K Stevens, P.E., Ph.D., Professor
Civil and Environmental Engineering
Utah Water Research Laboratory
8200 Old Main Hill
Logan, UT  84322-8200
435 797 3229 - voice
435 797 1363 - fax
david.stevens@usu.edu




	[[alternative HTML version deleted]]

