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.12.1 |
| Depends: |
R (≥ 4.4.0) |
| Imports: |
Rcpp, parallel, KernSmooth, mgcv (≥ 1.9-4), ggplot2 (≥
4.0.3), tibble (≥ 3.0.0), dplyr (≥ 1.2.0), tidyr, rlang, patchwork (≥ 1.3.2), vctrs, grid, mvnfast, purrr (≥ 1.1.0), stats, grDevices, stringr, tidyselect (≥ 1.2.0), lifecycle, pillar, cli, withr, scales, utils |
| LinkingTo: |
Rcpp |
| Suggests: |
posterior, coda, bayesplot, loo, ggcube (≥ 0.3.0), geometry, qgam, tweedie (≥ 2.3.5), gamm4 (≥ 0.2-7), lme4, nlme, testthat, R6, pkgload, vdiffr, MASS, scam (≥ 1.2-21), datasets, knitr, rmarkdown, forcats, GJRM, readr, glmmTMB (≥
1.1.15.2), sdmTMB (≥ 1.2.0), RTMB, TMB, Matrix, gamair, sf (≥
1.0-0), marginaleffects, mirai, carrier |
| Published: |
2026-11-23 |
| DOI: |
10.32614/CRAN.package.gratia |
| Author: |
Gavin L. Simpson
[aut, cre, cph],
Henrik Singmann
[ctb] |
| Maintainer: |
Gavin L. Simpson <ucfagls at gmail.com> |
| BugReports: |
https://github.com/gavinsimpson/gratia/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://gavinsimpson.github.io/gratia/ |
| NeedsCompilation: |
yes |
| Language: |
en-GB |
| Citation: |
gratia citation info |
| Materials: |
README, NEWS |
| CRAN checks: |
gratia results |