[ADMB Users] Installed glmm, admb 0.6 beta can't find function "glmm.admb"

Shawn McCracken sm1216 at txstate.edu
Thu Jul 28 08:52:36 PDT 2011


I installed the 0.6-beta version of glmm.admb on my Macbook Pro OSX10.6.8
running R version 2.12.2 (R-64) to take advantage of the implementation of
more than one random effect in a negative binomial model. It shows it to be
installed and loaded via the R package installer and R package manager. I
can get it to display the epil2 example dataset and when I type:
library(glmmADMB), and I get no error. When I type: fm <- glmm.admb(y ~ Base
* trt + Age + Visit + (Visit | subject), data = epil2, family = "nbinom")
from them example model I get: Error: could not find function "glmm.admb". I
have tried with my own dataset and get the same response. Any suggestions on
what is or wrong or how to fix it?

Thanks,

Shawn McCracken


> library(glmmADMB)
> epil2
      y       trt base age V4 subject period       lbase        lage Visit
   Base      Age
1     5   placebo   11  31  0       1      1 -0.75635379  0.11420370  -0.3
1.0116009 3.433987
2     3   placebo   11  31  0       1      2 -0.75635379  0.11420370  -0.1
1.0116009 3.433987
3     3   placebo   11  31  0       1      3 -0.75635379  0.11420370   0.1
1.0116009 3.433987
4     3   placebo   11  31  1       1      4 -0.75635379  0.11420370   0.3
1.0116009 3.433987
5     3   placebo   11  30  0       2      1 -0.75635379  0.08141387  -0.3
1.0116009 3.401197
6     5   placebo   11  30  0       2      2 -0.75635379  0.08141387  -0.1
1.0116009 3.401197
...
> fm <- glmm.admb(y ~ Base * trt + Age + Visit + (Visit | subject), data =
epil2, family = "nbinom")
Error: could not find function "glmm.admb"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20110728/12405242/attachment.html>


More information about the Users mailing list