tidygam: Tidy Prediction and Plotting of Generalised Additive Models

Provides functions that compute predictions from Generalised Additive Models (GAMs) fitted with 'mgcv' and return them as a tibble. These can be plotted with a generic plot()-method that uses 'ggplot2' or plotted as any other data frame. The main function is predict_gam().

Package details

AuthorStefano Coretta [aut, cre]
MaintainerStefano Coretta <stefano.coretta@gmail.com>
LicenseMIT + file LICENSE
Version1.0.0
URL https://github.com/stefanocoretta/tidygam https://stefanocoretta.github.io/tidygam/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("tidygam")

Try the tidygam package in your browser

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

tidygam documentation built on April 4, 2025, 4:20 a.m.