Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.9%) to scientific vocabulary
Keywords
Repository
GLMMs with adaptive Gaussian quadrature
Basic Info
- Host: GitHub
- Owner: drizopoulos
- Language: R
- Default Branch: master
- Homepage: https://drizopoulos.github.io/GLMMadaptive/
- Size: 22.9 MB
Statistics
- Stars: 62
- Watchers: 3
- Forks: 14
- Open Issues: 1
- Releases: 3
Topics
Metadata Files
README.md
GLMMadaptive: Generalized Linear Mixed Models using Adaptive Gaussian Quadrature

Description
GLMMadaptive fits mixed effects models for grouped/clustered outcome variables for which the integral over the random effects in the definition of the marginal likelihood cannot be solved analytically. The package approximates these integrals using the adaptive Gauss-Hermite quadrature rule.
Multiple random effects terms can be included for the grouping factor (e.g., random intercepts, random linear slopes, random quadratic slopes), but currently only a single grouping factor is allowed.
Basic Features
The package contains a single model-fitting function named
mixed_model()with four required arguments,fixeda formula for the fixed effects,randoma formula for the random effects,familya family object specifying the type of response variable, anddataa data frame containing the variables in the previously mentioned formulas.Methods for standard generics are provided, i.e.,
coef(),fixef(),ranef(),vcov(),logLik(),summary(),anova(),confint(),fitted(),residuals(),predict(), andsimulate().Negative binomial mixed models can be fitted using the
negative.binomial()family object.Zero-inflated Poisson and negative binomial models using the
zi.poisson()andzi.negative.binomial()family objects.Hurdle Poisson and negative binomial models using the
hurdle.poisson()andhurdle.negative.binomial()family objects.Zero-inflated binomial models using the
zi.binomial()family objects.Two-part/hurdle mixed models for semi-continuous normal data using the
hurdle.lognormal()family object.Mixed models for censored normal data using the
censored.normal()family object.Continuation ratio mixed models for ordinal data using functions
cr_setup()andcr_marg_probs().Beta and hurdle Beta mixed effects models using
beta.fam()andhurdle.beta.fam()family objects.Gamma mixed effects models using the
Gamma()orGamma.fam()family object.Linear mixed effects models with right and left censored data using the
censored.normal()family object.Users may also specify their own log-density function for the repeated measurements response variable, and the internal algorithms will take care of the optimization.
Calculates the marginalized coefficients using the idea of Hedeker et al. (2017) using function
marginal_coefs().Predictions with confidence interval for constructing effects plots are provided by function
effectPlotData().
Basic Use
Let y denote a grouped/clustered outcome, g denote the grouping factor, and x1 and
x2 covariates. A mixed effects model with y as outcome, x1 and x2 as fixed effects,
and random intercepts is fitted with the code:
```r
fm <- mixed_model(fixed = y ~ x1 + x2, random = ~ 1 | g, data = DF,
family = poisson())
summary(fm) ```
In the data argument we provide the data frame DF, which contains the aforementioned
variables. In the family argument we specify the distribution of the grouped/clustered
outcome conditional on the random effects. To include in the random-effects part
intercepts and x1, we update the call to mixed_model() as
```r
gm <- mixed_model(fixed = y ~ x1 + x2, random = ~ x1 | g, data = DF,
family = poisson())
summary(gm) ```
Installation
The development version of the package can be installed from GitHub using the remotes package: ```r
install.packages("remotes")
remotes::install_github("drizopoulos/GLMMadaptive") ```
Hex-sticker courtesy of Greg Papageorgiou @gr_papageorgiou.
Owner
- Name: Dimitris Rizopoulos
- Login: drizopoulos
- Kind: user
- Location: Rotterdam
- Company: Erasmus MC
- Website: https://www.drizopoulos.com/
- Twitter: drizopoulos
- Repositories: 9
- Profile: https://github.com/drizopoulos
Professor of Biostatistics Erasmus MC, Netherlands
GitHub Events
Total
- Issues event: 1
- Watch event: 2
- Push event: 4
- Fork event: 1
Last Year
- Issues event: 1
- Watch event: 2
- Push event: 4
- Fork event: 1
Committers
Last synced: almost 3 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Dimitris Rizopoulos | d****s@e****l | 326 |
| gpapageorgiou | p****s@g****m | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 54
- Total pull requests: 2
- Average time to close issues: 13 days
- Average time to close pull requests: 14 minutes
- Total issue authors: 38
- Total pull request authors: 1
- Average comments per issue: 2.3
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: about 1 hour
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- strengejacke (9)
- florianhartig (7)
- moosterwegel (2)
- wviechtb (2)
- Mathematinho (1)
- datasci-iopsy (1)
- sfaridimehr (1)
- andburch (1)
- rvlenth (1)
- elizabethnecka (1)
- MarcelCSchmitt (1)
- yuryzablotski (1)
- Ivy-ops (1)
- ajw11 (1)
- TPERRIN684 (1)
Pull Request Authors
- gpapageorgiou (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 4,895 last-month
- Total docker downloads: 22,116
- Total dependent packages: 10
- Total dependent repositories: 26
- Total versions: 18
- Total maintainers: 1
cran.r-project.org: GLMMadaptive
Generalized Linear Mixed Models using Adaptive Gaussian Quadrature
- Homepage: https://drizopoulos.github.io/GLMMadaptive/
- Documentation: http://cran.r-project.org/web/packages/GLMMadaptive/GLMMadaptive.pdf
- License: GPL (≥ 3)
-
Latest release: 0.9-7
published over 1 year ago
Rankings
Maintainers (1)
Dependencies
- MASS * imports
- matrixStats * imports
- nlme * imports
- parallel * imports
- DHARMa * suggests
- effects * suggests
- emmeans * suggests
- estimability * suggests
- knitr * suggests
- lattice * suggests
- multcomp * suggests
- optimParallel * suggests
- pkgdown * suggests
- rmarkdown * suggests
- actions/cache v1 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v2 composite