[R-sig-ME] [EXTERNAL] glmmTMB questions

Philippi, Tom Tom_Ph|||pp| @end|ng |rom np@@gov
Thu Oct 8 18:20:16 CEST 2020


Bingsong--
I believe that error message means you don't have something installed or configured correctly.  The following runs correctly for me in 3.6.3:
library(glmmTMB)
data(cbpp, package='lme4')
bovine <- glmmTMB(cbind(incidence, size-incidence) ~ period +  (1|herd),
                  family=binomial, data=cbpp)
str(bovine)

> sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

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

other attached packages:
[1] glmmTMB_1.0.0

loaded via a namespace (and not attached):
 [1] minqa_1.2.4     MASS_7.3-51.5   compiler_3.6.3  Matrix_1.2-18  
 [5] tools_3.6.3     TMB_1.7.16      Rcpp_1.0.3      splines_3.6.3  
 [9] nlme_3.1-144    grid_3.6.3      nloptr_1.2.2    boot_1.3-24    
[13] lme4_1.1-21     lattice_0.20-38 fortunes_1.5-4


Tom

-----Original Message-----
From: R-sig-mixed-models <r-sig-mixed-models-bounces using r-project.org> On Behalf Of Bingsong Zhang
Sent: Thursday, October 8, 2020 9:10 AM
To: r-sig-mixed-models using r-project.org
Subject: [EXTERNAL] [R-sig-ME] glmmTMB questions



 This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.



Hi all,

Did anyone try using glmmTMB to fit the logistic model?

I run the following code as mentioned in the manual page 16, but get error messages.

> data(cbpp, package="lme4")
> bovine <- glmmTMB(cbind(incidence, size-incidence) ~ period + 
> (1|herd),
family=binomial, data=cbpp)
Error in .Call("FreeADFunObject", ptr, PACKAGE = DLL) :
  "FreeADFunObject" not available for .Call() for package "glmmTMB"
Error in .Call("FreeADFunObject", ptr, PACKAGE = DLL) :
  "FreeADFunObject" not available for .Call() for package "glmmTMB"

Does it mean the package is not ready for binomial data yet?

Best,
Bingsong

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-mixed-models using r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models



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