Learn R Programming

glmmrBase (version 1.1.0)

Generalised Linear Mixed Models in R

Description

Specification, analysis, simulation, and fitting of generalised linear mixed models. Includes Markov Chain Monte Carlo Maximum likelihood and Laplace approximation model fitting for a range of models, non-linear fixed effect specifications, a wide range of flexible covariance functions that can be combined arbitrarily, robust and bias-corrected standard error estimation, power calculation, data simulation, and more. See for a detailed manual.

Copy Link

Version

Install

install.packages('glmmrBase')

Monthly Downloads

962

Version

1.1.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Sam Watson

Last Published

September 29th, 2025

Functions in glmmrBase (1.1.0)

coef.mcml

Extracts fixed effect coefficients from a mcml object
Covariance

R6 Class representing a covariance function and data
Salamanders

Salamanders data
SimGeospat

Simulated data from a geospatial study with continuous outcomes
Beta

Beta distribution declaration
Quantile

Family declaration to support quantile regression
SimTrial

Simulated data from a stepped-wedge cluster trial
Model

A GLMM Model
coef.Model

Extracts coefficients from a Model object
MeanFunction

For the generalised linear mixed model
family.mcml

Extracts the family from a `mcml` object.
confint.mcml

Fixed effect confidence intervals for a `mcml` object
fitted.Model

Extract or generate fitted values from a `Model` object
cross_df

Generate crossed block structure
fixed.effects

Extracts the fixed effect estimates
fitted.mcml

Fitted values from a `mcml` object
cycles

Generates all the orderings of a
formula.mcml

Extracts the formula from a `mcml` object.
family.Model

Extracts the family from a `Model` object. This information can also be accessed directly from the Model as `Model$family`
formula.Model

Extracts the formula from a `Model` object
lme4_to_glmmr

Map lme4 formula to glmmrBase formula
logLik.Model

Extracts the log-likelihood from an mcml object
residuals.Model

Extract residuals from a `Model` object
hessian_from_formula

Automatic differentiation of formulae
random.effects

Extracts the random effect estimates
mcnr_family

Returns the file name and type for MCNR function
match_rows

Generate matrix mapping between data frames
predict.mcml

Predict from a `mcml` object
vcov.mcml

Extract the Variance-Covariance matrix for a `mcml` object
predict.Model

Generate predictions at new values from a `Model` object
vcov.Model

Calculate Variance-Covariance matrix for a `Model` object
print.mcml

Prints an mcml fit output
hsgp_rescale

Rescales data to [-1,1]
logLik.mcml

Extracts the log-likelihood from an mcml object
setParallel

Disable or enable parallelised computing
mcml_lmer

lme4 style linear mixed model
mcml_glmer

lme4 style generlized linear mixed model
residuals.mcml

Residuals method for a `mcml` object
glmmrBase-package

tools:::Rd_package_title("glmmrBase")
progress_bar

Generates a progress bar
nelder

Generates a block experimental structure using Nelder's formula
summary.mcml

Summarises an mcml fit output
nest_df

Generate nested block structure
summary.Model

Summarizes a `Model` object