Learn R Programming

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

glmmTMB (version 0.2.1.0)

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

27,778

Version

0.2.1.0

License

AGPL-3

Maintainer

Mollie Brooks

Last Published

May 10th, 2018

Functions in glmmTMB (0.2.1.0)

Owls

Begging by Owl Nestlings
ranef.glmmTMB

Extract Random Effects
predict.glmmTMB

prediction
glmmTMB

Fit models with TMB
vcov.glmmTMB

Calculate Variance-Covariance Matrix for a Fitted glmmTMB model
Salamanders

Repeated counts of salamanders in streams
VarCorr.glmmTMB

Extract variance and correlation components
residuals.glmmTMB

Compute residuals for a glmmTMB object
glmmTMBControl

Control parameters for glmmTMB optimization
confint.glmmTMB

Calculate confidence intervals
fixef

Extract fixed-effects estimates
formatVC

Format the 'VarCorr' Matrix of Random Effects
sigma.glmmTMB

Extract residual standard deviation or dispersion parameter
inForm

test formula: does it contain a particular element?
getCapabilities

List model options that glmmTMB knows about
expandAllGrpVar

expand interactions/combinations of grouping variables
addForm

Combine right-hand sides of an arbitrary number of formulas
profile.glmmTMB

Compute likelihood profiles for a fitted model
print.VarCorr.glmmTMB

Printing The Variance and Correlation Parameters of a glmmTMB
getGrpVar

Get Grouping Variable
getReStruc

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

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

Seizure Counts for Epileptics - Extended
tmbroot

Compute likelihood profile confidence intervals of a TMB object by root-finding (generalized from TMB::tmbprofile)
getXReTrms

Create X and random effect terms from formula
fbx

(f)ind (b)ars e(x)tended: recursive
mkTMBStruc

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

list of specials -- taken from enum.R
numFactor

Factor with numeric interpretable levels.
nbinom2

Family functions for glmmTMB
simulate.glmmTMB

Simulate from a glmmTMB fitted model