Learn R Programming

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

glmmTMB (version 1.1.7)

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.7

License

AGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

April 5th, 2023

Functions in glmmTMB (1.1.7)

Salamanders

Repeated counts of salamanders in streams
confint.glmmTMB

Calculate confidence intervals
VarCorr.glmmTMB

Extract variance and correlation components
.adjustX

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

diagnose model problems
.collectDuplicates

collapse duplicated observations
.checkRankX

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

truncated distributions
getME.glmmTMB

Extract or Get Generalize Components from a Fitted Mixed Effects Model
fixef

Extract fixed-effects estimates
Anova.glmmTMB

Downstream methods
isLMM.glmmTMB

support methods for parametric bootstrapping
checkDepPackageVersion

Check for version mismatch in dependent binary packages
Owls

Begging by Owl Nestlings
findReTrmClasses

list of specials -- taken from enum.R
formatVC

Format the 'VarCorr' Matrix of Random Effects
getXReTrms

Create X and random effect terms from formula
fitTMB

Optimize a TMB model and package results
expandGrpVar

apply
epil2

Seizure Counts for Epileptics - Extended
family_params

Retrieve family-specific parameters
profile.glmmTMB

Compute likelihood profiles for a fitted model
get_cor

translate vector of correlation parameters to correlation values
simulate_new

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

Fit Models with TMB
glmmTMBControl

Control parameters for glmmTMB optimization
getReStruc

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

Extract info from formulas, reTrms, etc., format for TMB
nbinom2

Family functions for glmmTMB
vcov.glmmTMB

Calculate Variance-Covariance Matrix for a Fitted glmmTMB model
numFactor

Factor with numeric interpretable levels.
weights.glmmTMB

Extract weights from a glmmTMB object
getCapabilities

List model options that glmmTMB knows about
RHSForm

extract right-hand side of a formula
residuals.glmmTMB

Compute residuals for a glmmTMB object
startParams

Change starting parameters, either by residual method or by user input (start)
predict.glmmTMB

prediction
expandDoubleVert

expand double-bar RE notation by splitting
omp_check

Check OpenMP status
splitForm

Split formula containing special random effect terms
print.VarCorr.glmmTMB

Printing The Variance and Correlation Parameters of a glmmTMB
reinstalling

Reinstalling binary dependencies
formula.glmmTMB

Extract the formula of a glmmTMB object
up2date

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

Extract Random Effects
getGrpVar

Get Grouping Variable
terms.glmmTMB

Methods for extracting developer-level information from glmmTMB models
simulate.glmmTMB

Simulate from a glmmTMB fitted model
reexports

Objects exported from other packages
sigma.glmmTMB

Extract residual standard deviation or dispersion parameter