Learn R Programming

⚠️There's a newer version (1.1.10) of this package.Take me there.

glmmTMB (version 1.1.9)

Generalized Linear Mixed Models using Template Model Builder

Description

Fit linear and generalized linear mixed models with various extensions, including zero-inflation. The models are fitted using maximum likelihood estimation via 'TMB' (Template Model Builder). Random effects are assumed to be Gaussian on the scale of the linear predictor and are integrated out using the Laplace approximation. Gradients are calculated using automatic differentiation.

Copy Link

Version

Install

install.packages('glmmTMB')

Monthly Downloads

24,954

Version

1.1.9

License

AGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

March 20th, 2024

Functions in glmmTMB (1.1.9)

.collectDuplicates

collapse duplicated observations
VarCorr.glmmTMB

Extract variance and correlation components
findReTrmClasses

list of specials -- taken from enum.R
fitTMB

Optimize TMB models and package results, modularly
get_cor

translate vector of correlation parameters to correlation values
expandDoubleVert

expand double-bar RE notation by splitting
getXReTrms

Create X and random effect terms from formula
getGrpVar

Get Grouping Variable
Anova.glmmTMB

Downstream methods
getCapabilities

List model options that glmmTMB knows about
formula.glmmTMB

Extract the formula of a glmmTMB object
predict.glmmTMB

prediction
getReStruc

Calculate random effect structure Calculates number of random effects, number of parameters, block size and number of blocks. Mostly for internal use.
getME.glmmTMB

Extract or Get Generalize Components from a Fitted Mixed Effects Model
terms.glmmTMB

Methods for extracting developer-level information from glmmTMB models
nbinom2

Family functions for glmmTMB
mkTMBStruc

Extract info from formulas, reTrms, etc., format for TMB
print.VarCorr.glmmTMB

Printing The Variance and Correlation Parameters of a glmmTMB
fixef

Extract fixed-effects estimates
ranef.glmmTMB

Extract Random Effects
omp_check

Check OpenMP status
numFactor

Factor with numeric interpretable levels.
reexports

Objects exported from other packages
vcov.glmmTMB

Calculate Variance-Covariance Matrix for a Fitted glmmTMB model
reinstalling

Reinstalling binary dependencies
residuals.glmmTMB

Compute residuals for a glmmTMB object
startParams

Change starting parameters, either by residual method or by user input (start)
sub_specials

Substitute safe chars (+) for specials (for use in model.frame) (Generalized from lme4's subbars function.)
glmmTMBControl

Control parameters for glmmTMB optimization
formatVC

Format the 'VarCorr' Matrix of Random Effects
priors

use of priors in glmmTMB
glmmTMB

Fit Models with TMB
splitForm

Split formula containing special random effect terms
simulate_new

Simulate from covariate/metadata in the absence of a real data set (EXPERIMENTAL)
profile.glmmTMB

Compute likelihood profiles for a fitted model
weights.glmmTMB

Extract weights from a glmmTMB object
up2date

conditionally update glmmTMB object fitted with an old TMB version
sigma.glmmTMB

Extract residual standard deviation or dispersion parameter
simulate.glmmTMB

Simulate from a glmmTMB fitted model
Salamanders

Repeated counts of salamanders in streams
isLMM.glmmTMB

support methods for parametric bootstrapping
RHSForm

extract right-hand side of a formula
confint.glmmTMB

Calculate confidence intervals
checkDepPackageVersion

Check for version mismatch in dependent binary packages
expandGrpVar

apply
family_params

Retrieve family-specific parameters
diagnose

diagnose model problems
dtruncated_nbinom2

truncated distributions
Owls

Begging by Owl Nestlings
.adjustX

Adjust a model matrix When not rank deficient, do nothing. When rank deficient matrix, drop columns.
.checkRankX

Check for identifiability of fixed effects matrices X, Xzi, Xd. When rank_check='adjust', drop columns in X and remove associated parameters.
epil2

Seizure Counts for Epileptics - Extended