Learn R Programming

tidygam: Tidy Prediction and Plotting of Generalised Additive Models

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().

Copy Link

Version

Install

install.packages('tidygam')

Monthly Downloads

255

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Stefano Coretta

Last Published

December 18th, 2024

Functions in tidygam (1.0.0)

%>%

Pipe operator
get_difference

Get difference between two smooths
plot.tidygam

Plot methods for tidygam objects
plot.tidygam.diff

Plot methods for tidygam.diff objects
predict_gam

Get predictions from a GAM model
gest

Number of gestures by infants at 10, 11 and 12 months
struct

ERP to structural violation in music and language