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.8.2
Depends: R (≥ 4.1.0)
Imports: mgcv (≥ 1.8-41), ggplot2, tibble (≥ 3.0.0), dplyr (≥ 1.0.10), tidyr, rlang, patchwork, vctrs, grid, mvnfast, purrr, stats, tools, grDevices, stringr, tidyselect, lifecycle, pillar, cli, nlme
Suggests: gamm4, lme4, testthat, vdiffr, MASS, scam, datasets, withr, knitr, rmarkdown, forcats, GJRM
Published: 2024-01-09
Author: Gavin L. Simpson ORCID iD [aut, cre], 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: Customizing plots
Data slices
Getting Started


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

Reverse dependencies:

Reverse imports: cgaim, dsfa


Please use the canonical form to link to this page.