gratia: Graceful 'ggplot'-Based Graphics and Other Functions for GAMs Fitted Using 'mgcv' (original) (raw)

Graceful 'ggplot'-based graphics and utility functions for working with generalized additive models (GAMs) fitted using the 'mgcv' package. Provides a reimplementation of the plot() method for GAMs that 'mgcv' provides, as well as 'tidyverse' compatible representations of estimated smooths.

Version: 0.11.1
Depends: R (≥ 4.1.0)
Imports: mgcv (≥ 1.9-0), ggplot2 (≥ 3.5.0), tibble (≥ 3.0.0), dplyr (≥ 1.1.0), tidyr, rlang, patchwork (≥ 1.2.0), vctrs, grid, mvnfast, purrr (≥ 1.1.0), stats, tools, grDevices, stringr, tidyselect (≥ 1.2.0), lifecycle, pillar, cli, nlme, ggokabeito, withr, scales, mirai, tweedie (≥ 2.3.5)
Suggests: gamm4, lme4, testthat, vdiffr, MASS, scam, datasets, knitr, rmarkdown, forcats, GJRM, readr, glmmTMB, ggdist, distributional, hexbin, gamair, sf (≥ 0.7-3), svglite (≥ 2.0.0), curl, marginaleffects, carrier
Published: 2025-08-25
DOI: 10.32614/CRAN.package.gratia
Author: Gavin L. Simpson ORCID iD [aut, cre, cph], Henrik Singmann ORCID iD [ctb]
Maintainer: Gavin L. Simpson
BugReports: https://github.com/gavinsimpson/gratia/issues
License: MIT + file
URL: https://gavinsimpson.github.io/gratia/
NeedsCompilation: no
Language: en-GB
Citation: gratia citation info
Materials: README, NEWS
CRAN checks: gratia results

Documentation:

Downloads:

Reverse dependencies:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=gratiato link to this page.