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

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.9.2
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, stats, tools, grDevices, stringr, tidyselect (≥ 1.2.0), lifecycle, pillar, cli, nlme, ggokabeito, withr
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
Published: 2024-06-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 <ucfagls at>
License: MIT + file LICENSE
NeedsCompilation: no
Citation: gratia citation info
Materials: README NEWS
CRAN checks: gratia results


Reference manual: gratia.pdf
Vignettes: Data slices
Getting started with gratia


Package source: gratia_0.9.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gratia_0.9.2.tgz, r-oldrel (arm64): gratia_0.9.2.tgz, r-release (x86_64): gratia_0.9.2.tgz, r-oldrel (x86_64): gratia_0.9.2.tgz
Old sources: gratia archive

Reverse dependencies:

Reverse imports: cgaim


Please use the canonical form to link to this page.