Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

gratia

gavinsimpson.github.io

  • Free plan
  • Windows
  • macOS
  • Linux

What the maker publishes

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(). source
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. source
Bayesian analysis
Yes source
Compatibility limit
The overview says specialist smoothers with bases mrf, sw, and sf are not currently supported. source
Confidence intervals
gratia provides pointwise and simultaneous intervals for estimated smooths. source
Deployment
desktop source
Derivatives
The derivatives() function estimates derivatives of fitted smooths using finite differences. source
Derivatives
The package estimates derivatives of fitted smoothers. source
Development
The project describes gratia as under active development. source
Diagnostics
appraise() provides diagnostic plots for supported GAM, GLM, and linear model fits. source
Diagnostics
The appraise() function provides model diagnostic plots. source
Documentation
The getting-started guide says documentation is an area currently lacking and points users to package help pages and examples. source
Free plan
Yes source
Installation
The package is available from CRAN with install.packages("gratia"), and the site also documents installation from GitHub and rOpenSci's R Universe. source
Install options
The package page lists installation from CRAN, GitHub, and rOpenSci's R Universe service. source
Integrations
gratia works with GAMs fitted using mgcv and provides ggplot2-based graphics and tidyverse-compatible representations of estimated smooths. source
Integrations
The official getting-started guide demonstrates using gratia with mgcv, ggplot2, and dplyr. source
Intended users
The package is designed to help people working with GAMs in the tidyverse. source
License
The project identifies its license as MIT. source
Maintainer
The package site names Gavin L. Simpson as author, maintainer, and copyright holder. source
Models
It provides graphics and utility functions for GAMs fitted using the mgcv package. source
Plotting
Its draw() function uses ggplot2 to plot smooth and parametric contributions from a fitted GAM. source
Plotting
The draw() function produces ggplot2-based plots of estimated smooths and other model terms. source
Purpose
gratia provides graphics and utility functions for working with generalized additive models fitted using the mgcv R package. source

Checked against the maker's pages on 11 Oct 2026.