Skip to content

tidygam

Tidy Prediction and Plotting of Generalised Additive Models

v1.0.0 · Dec 18, 2024 · MIT + file LICENSE

Description

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

Downloads

CRAN

343

Last 30 days

12379th

927

Last 90 days

4.4K

Last year

Trend: +23.4% (30d vs prior 30d)

r2u CRAN

1

Last 30 days

26

Last 90 days

128

Last year

Trend: -88.9% (30d vs prior 30d)

autoCRAN

2

Last 7 days

19

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 7, 2026
NOTE r-devel-linux-x86_64-debian-gcc

foreign function calls

Fatal error: cannot create 'R_TempDir'
See chapter ‘System and foreign language interfaces’ in the ‘Writing R
Extensions’ manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Code metrics have not been computed for this package yet.

Dependency Network

Dependencies Reverse dependencies cli dplyr ggplot2 glue insight magrittr mgcv rlang stringr tibble tidyr tidyselect tidygam

Version History

4 tracked
new 1.0.0 Mar 10, 2026
updated 1.0.0 ← 0.2.2 diff Dec 17, 2024
updated 0.2.2 ← 0.2.0 diff Dec 6, 2024
new 0.2.0 May 8, 2023