Learn R Programming

gammi (version 0.2)

Generalized Additive Mixed Model Interface

Description

An interface for fitting generalized additive models (GAMs) and generalized additive mixed models (GAMMs) using the 'lme4' package as the computational engine, as described in Helwig (2024) . Supports default and formula methods for model specification, additive and tensor product splines for capturing nonlinear effects, and automatic determination of spline type based on the class of each predictor. Includes an S3 plot method for visualizing the (nonlinear) model terms, an S3 predict method for forming predictions from a fit model, and an S3 summary method for conducting significance testing using the Bayesian interpretation of a smoothing spline.

Copy Link

Version

Install

install.packages('gammi')

Monthly Downloads

147

Version

0.2

License

GPL (>= 2)

Maintainer

Nathaniel Helwig

Last Published

January 30th, 2025

Functions in gammi (0.2)

spline.model.matrix

Construct Design Matrices via Spectral Splines
StartupMessage

Startup Message for gammi
exam

Cross-Classified Examination Data
plot.gammi

Plot Method for gammi Fits
visualizers

Internal Functions for Plot Method
spline.basis

Spectral Spline Basis
predict.gammi

Predict Method for gammi Fits
gammi

Fit a Generalized Additive Mixed Model
summary.gammi

Summary Method for gammi Fits