[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

Re: [R] Problem with lme4

2007-05-15 Thread Stefan Grosse
the lme4 function you want is probably lmer() type ?lmer btw. your R is very old we are at 2.5.0 ... Stefan Amelie LESCROEL wrote: Hi - I'm having a problem trying to use the function GLMM() from lme4. Here is what happens: library(lme4) Loading required package: Matrix

Re: [R] Problem with lme4

2007-05-15 Thread Seyed Reza Jafarzadeh
It should be lmer(success ~ yearF + (1 | bandnumb), data=quality, family = binomial, method = PQL) Reza On 5/15/07, Stefan Grosse [EMAIL PROTECTED] wrote: the lme4 function you want is probably lmer() type ?lmer btw. your R is very old we are at 2.5.0 ... Stefan Amelie LESCROEL

Re: [R] Problem with lme4

2007-05-15 Thread Douglas Bates
On 5/15/07, Seyed Reza Jafarzadeh [EMAIL PROTECTED] wrote: It should be lmer(success ~ yearF + (1 | bandnumb), data=quality, family = binomial, method = PQL) It has to be method = PQL (the quotes are important) except that the PQL method is no longer an option in lmer. Beginning with

Re: [R] Problem with lme4

2005-08-15 Thread Peter Ho
I did as you suggested by just running just R (--vanilla) and that seemed to work. Not sure what the problem was though. Thanks Peter Douglas Bates wrote: On 8/12/05, Peter Ho [EMAIL PROTECTED] wrote: Hi, I cannot seem to get lme4 to work. I have installed the lme4 and Matrix package

[R] Problem with lme4

2005-08-12 Thread Peter Ho
Hi, I cannot seem to get lme4 to work. I have installed the lme4 and Matrix package with apt-get. and both can be found in /usr/lib/R/site-library. When I tried an example for lmer, R could not find the function lmer(), library(lme4) Attaching package: 'lme4' The following

Re: [R] Problem with lme4

2005-08-12 Thread Douglas Bates
On 8/12/05, Peter Ho [EMAIL PROTECTED] wrote: Hi, I cannot seem to get lme4 to work. I have installed the lme4 and Matrix package with apt-get. and both can be found in /usr/lib/R/site-library. When I tried an example for lmer, R could not find the function lmer(), Try using

[R] Problem in lme4

2004-07-02 Thread Doran, Harold
Dear List: I was able to run the following in nlme successfully, but the same model and code (same dataset) failed to run in lme4 and gave me the error message below. Any thoughts? lme(math~year, data=egsingle, random=~year|schoolid/childid) Error in lme(formula = math ~ year, data =

Re: [R] Problem in lme4

2004-07-02 Thread Douglas Bates
Doran, Harold wrote: I was able to run the following in nlme successfully, but the same model and code (same dataset) failed to run in lme4 and gave me the error message below. Any thoughts? lme(math~year, data=egsingle, random=~year|schoolid/childid) Error in lme(formula = math ~ year,