gammi: Generalized Additive Mixed Model Interface

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) <doi:10.3390/stats7010003>. 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.

Getting started

Package details

AuthorNathaniel E. Helwig [aut, cre]
MaintainerNathaniel E. Helwig <helwig@umn.edu>
LicenseGPL (>= 2)
Version0.2
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("gammi")

Try the gammi package in your browser

Any scripts or data that you put into this service are public.

gammi documentation built on April 4, 2025, 4:48 a.m.