Comments (2)
I guess your packages are out of date?
library(modelbased)
library(glmmTMB)
data <- glmmTMB::Salamanders
model2 <- glmmTMB::glmmTMB(
count ~ cover + mined + (1 | site),
ziformula = ~ cover + mined,
family = glmmTMB::truncated_poisson,
data = data
)
estim <- modelbased::estimate_response(model2)
devtools::session_info()
#> - Session info ---------------------------------------------------------------
#> setting value
#> version R version 4.0.2 (2020-06-22)
#> os Windows 10 x64
#> system x86_64, mingw32
#> ui RTerm
#> language (EN)
#> collate German_Germany.1252
#> ctype German_Germany.1252
#> tz Europe/Berlin
#> date 2020-10-05
#>
#> - Packages -------------------------------------------------------------------
#> package * version date lib source
#> assertthat 0.2.1 2019-03-21 [1] CRAN (R 4.0.0)
#> backports 1.1.10 2020-09-15 [1] CRAN (R 4.0.2)
#> bayestestR 0.7.2.1 2020-10-02 [1] local
#> boot 1.3-25 2020-04-26 [2] CRAN (R 4.0.2)
#> callr 3.4.4 2020-09-07 [1] CRAN (R 4.0.2)
#> cli 2.0.2 2020-02-28 [1] CRAN (R 4.0.0)
#> coda 0.19-4 2020-09-30 [1] CRAN (R 4.0.2)
#> codetools 0.2-16 2018-12-24 [2] CRAN (R 4.0.2)
#> crayon 1.3.4 2017-09-16 [1] CRAN (R 4.0.0)
#> desc 1.2.0 2018-05-01 [1] CRAN (R 4.0.0)
#> devtools 2.3.2 2020-09-18 [1] CRAN (R 4.0.2)
#> digest 0.6.25 2020-02-23 [1] CRAN (R 4.0.0)
#> ellipsis 0.3.1 2020-05-15 [1] CRAN (R 4.0.0)
#> emmeans 1.5.1 2020-09-18 [1] CRAN (R 4.0.2)
#> estimability 1.3 2018-02-11 [1] CRAN (R 4.0.0)
#> evaluate 0.14 2019-05-28 [1] CRAN (R 4.0.0)
#> fansi 0.4.1 2020-01-08 [1] CRAN (R 4.0.0)
#> fs 1.5.0 2020-07-31 [1] CRAN (R 4.0.2)
#> glmmTMB * 1.0.2.1 2020-07-02 [1] CRAN (R 4.0.2)
#> glue 1.4.2 2020-08-27 [1] CRAN (R 4.0.2)
#> highr 0.8 2019-03-20 [1] CRAN (R 4.0.0)
#> htmltools 0.5.0 2020-06-16 [1] CRAN (R 4.0.0)
#> insight 0.9.6.1 2020-10-04 [1] local
#> knitr 1.30 2020-09-22 [1] CRAN (R 4.0.2)
#> lattice 0.20-41 2020-04-02 [2] CRAN (R 4.0.2)
#> lme4 1.1-23 2020-04-07 [1] CRAN (R 4.0.0)
#> magrittr 1.5 2014-11-22 [1] CRAN (R 4.0.0)
#> MASS 7.3-51.6 2020-04-26 [2] CRAN (R 4.0.2)
#> Matrix 1.2-18 2019-11-27 [2] CRAN (R 4.0.2)
#> memoise 1.1.0 2017-04-21 [1] CRAN (R 4.0.0)
#> minqa 1.2.4 2014-10-09 [1] CRAN (R 4.0.0)
#> modelbased * 0.3.0 2020-10-05 [1] local
#> multcomp 1.4-14 2020-09-23 [1] CRAN (R 4.0.2)
#> mvtnorm 1.1-1 2020-06-09 [1] CRAN (R 4.0.0)
#> nlme 3.1-148 2020-05-24 [2] CRAN (R 4.0.2)
#> nloptr 1.2.2.2 2020-07-02 [1] CRAN (R 4.0.2)
#> parameters 0.8.6.1 2020-10-05 [1] local
#> pkgbuild 1.1.0 2020-07-13 [1] CRAN (R 4.0.2)
#> pkgload 1.1.0 2020-05-29 [1] CRAN (R 4.0.0)
#> prettyunits 1.1.1 2020-01-24 [1] CRAN (R 4.0.0)
#> processx 3.4.4 2020-09-03 [1] CRAN (R 4.0.2)
#> ps 1.3.4 2020-08-11 [1] CRAN (R 4.0.2)
#> R6 2.4.1 2019-11-12 [1] CRAN (R 4.0.0)
#> Rcpp 1.0.5 2020-07-06 [1] CRAN (R 4.0.2)
#> remotes 2.2.0 2020-07-21 [1] CRAN (R 4.0.2)
#> rlang 0.4.7 2020-07-09 [1] CRAN (R 4.0.2)
#> rmarkdown 2.4 2020-09-30 [1] CRAN (R 4.0.2)
#> rprojroot 1.3-2 2018-01-03 [1] CRAN (R 4.0.0)
#> sandwich 3.0-0 2020-10-02 [1] CRAN (R 4.0.2)
#> sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 4.0.0)
#> statmod 1.4.34 2020-02-17 [1] CRAN (R 4.0.0)
#> stringi 1.5.3 2020-09-09 [1] CRAN (R 4.0.2)
#> stringr 1.4.0 2019-02-10 [1] CRAN (R 4.0.0)
#> survival 3.1-12 2020-04-10 [2] CRAN (R 4.0.2)
#> testthat 2.3.2 2020-03-02 [1] CRAN (R 4.0.0)
#> TH.data 1.0-10 2019-01-21 [1] CRAN (R 4.0.0)
#> TMB 1.7.18 2020-07-27 [1] CRAN (R 4.0.2)
#> usethis 1.6.3 2020-09-17 [1] CRAN (R 4.0.2)
#> withr 2.3.0 2020-09-22 [1] CRAN (R 4.0.2)
#> xfun 0.18 2020-09-29 [1] CRAN (R 4.0.2)
#> xtable 1.8-4 2019-04-21 [1] CRAN (R 4.0.0)
#> yaml 2.2.1 2020-02-01 [1] CRAN (R 4.0.0)
#> zoo 1.8-8 2020-05-02 [1] CRAN (R 4.0.0)
#>
#> [1] C:/Users/mail/Documents/R/win-library/4.0
#> [2] C:/Program Files/R/R-4.0.2/library
Created on 2020-10-05 by the reprex package (v0.3.0)
from modelbased.
indeed... the fault of my office laptop 🤷
from modelbased.
Related Issues (20)
- estimate_expectation truncated_poisson glmmTMB bug HOT 5
- Fix failing tests HOT 2
- CRAN submission HOT 15
- between_within or ml1 df for post-hoc tests based on glmm HOT 3
- Provide `verbose` parameter to key functions to suppress messages/warnings
- Fix broken example
- Error in CRAN checks on R-devel-windows
- estimate_contrasts , p-value and 95% CI do not agree HOT 4
- Possible bug with estimate_grouplevel() for brms model HOT 5
- `estimate_contrasts()`: Different results using `as.factor()` within or outside formula
- Plotting from `estimate_means()` with a poisson model fails HOT 3
- methods other than "pairwise" for `estimate_contrasts()` fail
- `modelization_approach` vignette fails to render HOT 1
- Pairwise paired contrasts?
- Feature Request: Contrasting Simple Slopes HOT 1
- `visualization_recipe()` for `estimate_slopes()` should not map alpha to discrete values HOT 5
- CRAN submission (deadline 20/02) HOT 2
- Harmonize ggeffects and modelbased
- Keep code R-3.6 compatible
- Unable to install package on cran HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modelbased.