Learn R Programming

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

glmmTMB (version 1.1.8)

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

55,474

Version

1.1.8

License

AGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mollie Brooks

Last Published

October 7th, 2023

Functions in glmmTMB (1.1.8)

fitTMB

Optimize TMB models and package results, modularly
Anova.glmmTMB

Downstream methods
getXReTrms

Create X and random effect terms from formula
formula.glmmTMB

Extract the formula of a glmmTMB object
expandDoubleVert

expand double-bar RE notation by splitting
getCapabilities

List model options that glmmTMB knows about
getME.glmmTMB

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

Get Grouping Variable
glmmTMB

Fit Models with TMB
getReStruc

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

translate vector of correlation parameters to correlation values
glmmTMBControl

Control parameters for glmmTMB optimization
omp_check

Check OpenMP status
profile.glmmTMB

Compute likelihood profiles for a fitted model
numFactor

Factor with numeric interpretable levels.
up2date

conditionally update glmmTMB object fitted with an old TMB version
nbinom2

Family functions for glmmTMB
terms.glmmTMB

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

Extract Random Effects
print.VarCorr.glmmTMB

Printing The Variance and Correlation Parameters of a glmmTMB
predict.glmmTMB

prediction
mkTMBStruc

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

Simulate from a glmmTMB fitted model
vcov.glmmTMB

Calculate Variance-Covariance Matrix for a Fitted glmmTMB model
reexports

Objects exported from other packages
splitForm

Split formula containing special random effect terms
residuals.glmmTMB

Compute residuals for a glmmTMB object
sigma.glmmTMB

Extract residual standard deviation or dispersion parameter
simulate_new

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

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

Extract weights from a glmmTMB object
startParams

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

Reinstalling binary dependencies
diagnose

diagnose model problems
confint.glmmTMB

Calculate confidence intervals
VarCorr.glmmTMB

Extract variance and correlation components
checkDepPackageVersion

Check for version mismatch in dependent binary packages
RHSForm

extract right-hand side of a formula
isLMM.glmmTMB

support methods for parametric bootstrapping
Salamanders

Repeated counts of salamanders in streams
.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.
Owls

Begging by Owl Nestlings
dtruncated_nbinom2

truncated distributions
.collectDuplicates

collapse duplicated observations
fixef

Extract fixed-effects estimates
epil2

Seizure Counts for Epileptics - Extended
expandGrpVar

apply
findReTrmClasses

list of specials -- taken from enum.R
family_params

Retrieve family-specific parameters
formatVC

Format the 'VarCorr' Matrix of Random Effects