[R] Problem with lme4

2007-05-15 Thread Amelie LESCROEL
Hi - I'm having a problem trying to use the function GLMM() from lme4. Here is what happens: library(lme4) Loading required package: Matrix Loading required package: lattice f1 - GLMM(success~yearF, data=quality, random=~1|bandnumb, family=binomial, method=PQL) Error: couldn't find

[R] hist() and bar spacing

2006-08-10 Thread Amelie LESCROEL
Hello, Could someone explain to me why I get so different histograms, in terms of bar spacing, depending on the number of counts entered ? (see example below) test - c(0,1,1,1,1,0,0,0,0,0,2,3,2,2,2,3,3,4,5,6,7,5,4,3,4,2,2) hist(test) I obtain this kind of histogram (what I actually

[R] lmer{lme4}, poisson family and residuals

2006-04-20 Thread Amelie LESCROEL
Hello, I’m trying to fit the following model: Dependent variable: MAXDEPTH (the maximum depth reached by a penguin during a given dive) Fixed effects: SUCCESSMN (an index of the “individual quality” of a bird), STUDYDAY (the day of the study, from -5 to 20, with 0=Dec 20), and the

[R] Missing p-values using lmer()

2006-04-20 Thread Amelie LESCROEL
Hello, I’m trying to perform a REML analysis using the lmer() function (lme4 package). Well, it seems to work well, except that I’m not getting any p-value (see example below). Can someone tell me what I did wrong? Thanks for your help, Amélie library(gdata) dive -