With tidygam, users can more easily obtain predictions from Generalised Additive Models (GAMs) and plot them, using tidyverse tools.
Installation
You can install the latest release of tidygam from GitHub with:
# install.packages("remotes")
remotes::install_github("stefanocoretta/tidygam@v1.0.0")
Alternatively, you can install the development version:
# install.packages("remotes")
remotes::install_github("stefanocoretta/tidygam@devel")
Examples
For examples, see the Get started
vignette and the documentation of predict_gam()
and plot.tidygam()
.