Skip to content
SPECIFICTION
Get listed

gratia

gavinsimpson.github.io

WindowsmacOSLinux

Spec sheet

Purpose
gratia provides graphics and utility functions for working with generalized additive models fitted using the mgcv R package.Read 11 Oct 2026 · gavinsimpson.github.io
Intended users
The package is designed to help people working with GAMs in the tidyverse.Read 11 Oct 2026 · gavinsimpson.github.io
Audience
The overview describes gratia as helping people work with GAMs in the tidyverse, where this can otherwise be tedious or difficult without understanding GAMs and mgcv model objects.Read 11 Oct 2026 · gavinsimpson.github.io
Deployment
desktopRead 24 Sep 2026 · gavinsimpson.github.io
Free plan
YesRead 24 Sep 2026 · gavinsimpson.github.io
Integrations
The official getting-started guide demonstrates using gratia with mgcv, ggplot2, and dplyr.Read 11 Oct 2026 · gavinsimpson.github.io
Support
The project links to GitHub to report bugs and provides a contributing guide and code of conduct.Read 11 Oct 2026 · gavinsimpson.github.io
License
The project identifies its license as MIT.Read 11 Oct 2026 · gavinsimpson.github.io
Additional capability
The changelog describes experimental parallel processing support for smooth_estimates() and basis() through purrr, with a current R session configured using mirai::daemons().Read 11 Oct 2026 · gavinsimpson.github.io
Bayesian analysis
YesRead 24 Sep 2026 · gavinsimpson.github.io
Compatibility limit
The overview says specialist smoothers with bases mrf, sw, and sf are not currently supported.Read 11 Oct 2026 · gavinsimpson.github.io
Confidence intervals
gratia provides pointwise and simultaneous intervals for estimated smooths.Read 11 Oct 2026 · gavinsimpson.github.io
Derivatives
The package estimates derivatives of fitted smoothers.Read 11 Oct 2026 · gavinsimpson.github.io
Development
The project describes gratia as under active development.Read 11 Oct 2026 · gavinsimpson.github.io
Diagnostics
The appraise() function provides model diagnostic plots.Read 11 Oct 2026 · gavinsimpson.github.io
Documentation
The getting-started guide says documentation is an area currently lacking and points users to package help pages and examples.Read 11 Oct 2026 · gavinsimpson.github.io
Install options
The package page lists installation from CRAN, GitHub, and rOpenSci's R Universe service.Read 11 Oct 2026 · gavinsimpson.github.io
Installation
The package is available from CRAN with install.packages("gratia"), and the site also documents installation from GitHub and rOpenSci's R Universe.Read 11 Oct 2026 · gavinsimpson.github.io
Maintainer
The package site names Gavin L. Simpson as author, maintainer, and copyright holder.Read 11 Oct 2026 · gavinsimpson.github.io
Models
It provides graphics and utility functions for GAMs fitted using the mgcv package.Read 11 Oct 2026 · gavinsimpson.github.io
Plotting
The draw() function produces ggplot2-based plots of estimated smooths and other model terms.Read 11 Oct 2026 · gavinsimpson.github.io
Regression models
YesRead 24 Sep 2026 · gavinsimpson.github.io
Scripting support
YesRead 24 Sep 2026 · gavinsimpson.github.io
Statistical tests
YesRead 24 Sep 2026 · gavinsimpson.github.io
Supported smooths
The site says several specialist smoothers, including mrf, sw, and sf, are not currently supported.Read 11 Oct 2026 · gavinsimpson.github.io
Tidy output
gratia provides tidyverse-compatible representations of estimated smooths.Read 11 Oct 2026 · gavinsimpson.github.io

Where Specifiction places it

Alternatives to gratiaAll alternatives →