[R-sig-ME] Could not get a lmer or glmer summary

Eric Edeline edeline at biologie.ens.fr
Wed Mar 24 14:10:03 CET 2010


Dear all,

I am having troubles with getting a summary for lmer and glmer models 
that otherwise (apparently) converged properly (i can for instance 
extract ranefs). Could anyone point to me the mistake?

Thanks!

Eric


 >m11<-lmer(Logl ~ 1|Species, data=Data)
 >m11
Error in chol2inv(object at RX, size = object at dims["p"]) :
  could not find symbol "size" in environment of the generic function

 > sessionInfo()
R version 2.10.1 (2009-12-14)
i486-pc-linux-gnu

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C             
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8   
 [5] LC_MONETARY=C              LC_MESSAGES=en_US.UTF-8  
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                
 [9] LC_ADDRESS=C               LC_TELEPHONE=C           
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C      

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base    

other attached packages:
[1] lme4_0.999375-32   Matrix_0.999375-37 lattice_0.18-3   

loaded via a namespace (and not attached):
[1] grid_2.10.1

 > str(Data)
'data.frame':    90900 obs. of  39 variables:
 $ OPCOD     : num  1.01e+10 1.01e+10 1.01e+10 1.01e+10 1.01e+10 ...
 $ Species   : Factor w/ 50 levels "ABH","ABL","ANG",..: 20 18 32 29 48 
3 21 2 31 24 ...
 $ Length    : num  41.4 77.3 124.6 95.8 245.7 ...
 $ Var       : num  10 484.4 1110.3 300.7 74909.1 ...
 $ Count     : num  3 236 38 20 9 1 16 3 2 80 ...
 $ Linf      : int  110 180 200 210 1400 1330 90 250 1520 200 ...
 $ Pisc      : num  0 1 0 0 1 1 0 0 1 0 ...
 $ Nb.species: int  7 7 7 7 7 7 7 10 10 10 ...
 $ Ntot      : int  788 788 788 788 788 788 788 31521 31521 31521 ...
 $ Fcl       : num  11475 11475 11475 11475 11475 ...
 $ Name      : Factor w/ 50 levels "Able_de_Heckel",..: 20 18 29 33 48 3 
21 2 34 25 ...
 $ Mass      : num  0.697 5.665 3.292 6.808 53.077 ...
 $ Fam       : Factor w/ 12 levels "Ang","Cob","Cot",..: 6 3 7 2 11 1 6 
4 8 4 ...
 $ Compint   : num  1.282 0.641 0.237 5.994 0.254 ...
 $ Pred      : num  0.29759 0.03813 0.02509 0.0407 0.00625 ...
 $ Mu        : num  40.9 70.1 125.7 72.2 173.1 ...
 $ Nb.sp0    : int  4 4 4 4 4 4 4 5 5 5 ...
 $ Nb.sp.5   : int  0 0 0 0 0 0 0 0 0 0 ...
 $ Nb.sp1    : int  3 3 3 3 3 3 3 5 5 5 ...
 $ Month     : int  5 5 5 5 5 5 5 6 6 6 ...
 $ Year      : int  1990 1990 1990 1990 1990 1990 1990 1995 1995 1995 ...
 $ Width     : num  2.5 2.5 2.5 2.5 2.5 2.5 2.5 5 5 5 ...
 $ Depth     : num  0.38 0.38 0.38 0.38 0.38 0.38 0.38 0.53 0.53 0.53 ...
 $ Method    : Factor w/ 3 levels "Bat","Mix","Pied": 3 3 3 3 3 3 3 3 3 
3 ...
 $ Strategy  : Factor w/ 5 levels "compl","partamb",..: 1 1 1 1 1 1 1 2 
2 2 ...
 $ Surf      : num  250 250 250 250 250 250 250 650 650 650 ...
 $ Slope     : num  6.63 6.63 6.63 6.63 6.63 6.63 6.63 0.65 0.65 0.65 ...
 $ Tjan      : num  3.9 3.9 3.9 3.9 3.9 3.9 3.9 4 4 4 ...
 $ Tmin      : num  0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.3 0.3 0.3 ...
 $ Tjul      : num  18.9 18.9 18.9 18.9 18.9 18.9 18.9 19.5 19.5 19.5 ...
 $ Tmax      : num  22.5 22.5 22.5 22.5 22.5 22.5 22.5 23.3 23.3 23.3 ...
 $ CLAS_ONEMA: Factor w/ 8 levels "","Ag","Ag. Intens",..: 5 5 5 5 5 5 5 
7 7 7 ...
 $ Region    : Factor w/ 9 levels "Bassin_Garonne",..: 5 5 5 5 5 5 5 5 5 
5 ...
 $ Temp      : num  11.5 11.5 11.5 11.5 11.5 ...
 $ D         : num  0.012 0.944 0.152 0.08 0.036 ...
 $ Compint2  : num  0.4284 0.00372 0.00723 0.30072 0.02925 ...
 $ Pred2     : num  0.099207 0.000172 0.00067 0.002045 0.000704 ...
 $ CV        : num  0.0765 0.2849 0.2673 0.1811 1.114 ...
 $ Logl      : num  3.72 4.35 4.83 4.56 5.5 ...


-- 
Eric Edeline
Assistant Professor
UMR 7618 BIOEMCO
Ecole Normale Supérieure
46 rue d'Ulm
75230 Paris cedex 05
France

Tel: +33 (0)1 44 32 38 84
Fax: +33 (0)1 44 32 38 85

http://www.biologie.ens.fr/bioemco/biodiversite/edeline.html




More information about the R-sig-mixed-models mailing list