Other packages > Find by keyword >

gratia  

Graceful 'ggplot'-Based Graphics and Other Functions for GAMs Fitted Using 'mgcv'
View on CRAN: Click here


Download and install gratia package within the R console
Install from CRAN:
install.packages("gratia")

Install from Github:
library("remotes")
install_github("cran/gratia")

Install by package version:
library("remotes")
install_version("gratia", "0.10.0")



Attach the package and use:
library("gratia")
Maintained by
Gavin L. Simpson
[Scholar Profile | Author Map]
First Published: 2019-02-01
Latest Update: 2023-02-02
Description:
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.
How to cite:
Gavin L. Simpson (2019). gratia: Graceful 'ggplot'-Based Graphics and Other Functions for GAMs Fitted Using 'mgcv'. R package version 0.10.0, https://cran.r-project.org/web/packages/gratia. Accessed 16 May. 2025.
Previous versions and publish date:
0.2-1 (2019-02-01 19:33), 0.2-8 (2019-03-13 00:00), 0.3.0 (2020-01-19 21:20), 0.3.1 (2020-03-29 20:30), 0.4.1 (2020-05-31 02:00), 0.5.0 (2021-01-11 00:20), 0.5.1 (2021-01-24 01:20), 0.6.0 (2021-04-18 06:50), 0.7.0 (2022-02-07 16:20), 0.7.2 (2022-03-17 22:10), 0.7.3 (2022-05-09 13:20), 0.8.1 (2023-02-02 17:50), 0.8.2 (2024-01-09 10:10), 0.9.0 (2024-03-27 18:40), 0.9.2 (2024-06-25 19:00)
Other packages that cited gratia R package
View gratia citation profile
Other R packages that gratia depends, imports, suggests or enhances
Complete documentation for gratia
Functions, R codes and Examples using the gratia R package
Some associated functions: add_confint . add_constant . add_fitted.gam . add_fitted . add_partial_residuals . add_residuals.gam . add_residuals . appraise . basis . bird_move . check_user_select_smooths . coef.scam . compare_smooths . confint.fderiv . confint.gam . data_combos . data_sim . data_slice . datagen . derivatives . difference_smooths . draw.basis . draw.compare_smooths . draw.derivatives . draw.difference_smooth . draw.evaluated_smooth . draw.gam . draw.gamlss . draw.mgcv_smooth . draw . draw.parametric_effects . draw.penalty_df . draw.rootogram . draw.smooth_estimates . draw.smooth_samples . draw_parametric_effect . edf . eval_smooth . evaluate_parametric_term . evaluate_smooth . evenly . factor_combos . family.gam . family_name . family_type . fderiv . fitted_samples . fitted_values . fix_offset . fixef.gam . fixef . get_by_smooth . get_smooth . get_smooths_by_id . gss_vocab . gw_functions . has_theta . is_by_smooth . is_factor_term . is_mgcv_smooth . is_offset . link . load_mgcv . lp_matrix . model_concurvity . model_vars . n_smooths . nb_theta . nested_partial_residuals . nested_rug_values . observed_fitted_plot . overview . parametric_effects . parametric_terms . partial_derivatives . partial_residuals . penalty . posterior_samples . predicted_samples . qq_plot . ref_level . ref_sims . rep_first_factor_value . residuals_hist_plot . residuals_linpred_plot . rootogram . seq_min_max_eps . shift_values . simulate . smallAges . smooth_coef_indices . smooth_coefs . smooth_data . smooth_dim . smooth_estimates . smooth_samples . smooth_type . smooths . term_names . term_variables . theta . tidy_basis . to_na . too_far . too_far_to_na . transform_fun . typical_values . variance_comp . vars_from_label . which_smooths . worm_plot . zooplankton . 
Some associated R codes: add-methods.R . basis-funs.R . by-variable-utilities.R . compare-smooths.R . concurvity.R . confint-methods.R . data-sim.R . data-slice.R . datagen-methods.R . datasets.R . derivatives.R . diagnose.R . difference-smooths.R . distribution-helpers.R . draw-evaluate-smooth.R . draw-gam.R . draw-methods.R . edf.R . effects.R . evaluate_smooth.R . evenly.R . family-utils.R . fderiv.R . fitted_values.R . gjrm-methods.R . lp-matrix.R . nested-functions.R . other-scam-methods.R . overview.R . parametric-effects.R . penalty.R . posterior-samples.R . residuals.R . rootogram.R . simulate-methods.R . smooth-coefs.R . smooth-data.R . smooth-estimates.R . smooth-type.R . subsetting.R . too_far.R . utililties.R . variance-components.R .  Full gratia package functions and examples
Downloads during the last 30 days
04/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/2904/3005/0105/0205/0305/0405/0505/0605/0705/0805/0905/1005/1105/1205/1305/14Downloads for gratia406080100120140160180200220240TrendBars

Today's Hot Picks in Authors and Packages

barcode  
Render Barcode Distribution Plots
The function \code{barcode()} produces a histogram-like plot of a distribution that shows granular ...
Download / Learn more Package Citations See dependency  
ContRespPP  
Predictive Probability for a Continuous Response with an ANOVA Structure
A Bayesian approach to using predictive probability in an ANOVA construct with a continuous normal ...
Download / Learn more Package Citations See dependency  
microbats  
An Implementation of Bat Algorithm in R
A nature-inspired metaheuristic algorithm based on the echolocation behavior of microbats that uses ...
Download / Learn more Package Citations See dependency  
scrime  
Analysis of High-Dimensional Categorical Data Such as SNP Data
Tools for the analysis of high-dimensional data developed/implemented at the group "Statistical Com ...
Download / Learn more Package Citations See dependency  
dagwood  
DAGs with Omitted Objects Displayed (DAGWOOD)
DAGs With Omitted Objects Displayed (DAGWOOD) is a framework to help reveal key hidden assumptions i ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

24,223

R Packages

207,311

Dependencies

65,402

Author Associations

24,224

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA