{
  "_id": "6aea38321e2c7b3a4f533cfd",
  "Package": "gratia",
  "Version": "0.11.2-73",
  "Title": "Graceful 'ggplot'-Based Graphics and Other Functions for GAMs\nFitted Using 'mgcv'",
  "Authors@R": "c(person(given = \"Gavin L.\", family = \"Simpson\",\nemail = \"ucfagls@gmail.com\",\nrole = c(\"aut\",\"cre\",\"cph\"),\ncomment = c(ORCID = \"0000-0002-9084-8413\")),\nperson(given = \"Henrik\", family = \"Singmann\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0002-4842-3657\")))",
  "Maintainer": "Gavin L. Simpson <ucfagls@gmail.com>",
  "Description": "Graceful 'ggplot'-based graphics and utility functions for\nworking with generalized additive models (GAMs) fitted using\nthe 'mgcv' package. Provides a reimplementation of the plot()\nmethod for GAMs that 'mgcv' provides, as well as 'tidyverse'\ncompatible representations of estimated smooths.",
  "License": "MIT + file LICENSE",
  "LazyData": "true",
  "URL": "https://gavinsimpson.github.io/gratia/",
  "BugReports": "https://github.com/gavinsimpson/gratia/issues",
  "Roxygen": "list(markdown = TRUE)",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "rmarkdown, ggdist, MASS, nlme, lme4, gamm4, GJRM,\nglmmTMB, sdmTMB, sf, ggcube, distributional, hexbin",
  "Config/roxygen2/version": "8.1.1",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://gavinsimpson.r-universe.dev",
  "Date/Publication": "2026-11-03 10:10:33 UTC",
  "RemoteUrl": "https://github.com/gavinsimpson/gratia",
  "RemoteRef": "HEAD",
  "RemoteSha": "dc825624407e79a6e2fffee10f94409b206a28bc",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-03 19:15:09 UTC",
    "User": "root"
  },
  "Author": "Gavin L. Simpson [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-9084-8413>),\nHenrik Singmann [ctb] (ORCID: <https://orcid.org/0000-0002-4842-3657>)",
  "_user": "gavinsimpson",
  "_type": "src",
  "_file": "gratia_0.11.2-73.tar.gz",
  "_fileid": "https://r2.ropensci.org/5ec60eb000ded362c6970829d788608728aea348b3bd4c175ca1ed52f864d9d0",
  "_filesize": 8506370,
  "_sha256": "5ec60eb000ded362c6970829d788608728aea348b3bd4c175ca1ed52f864d9d0",
  "_expires": "2027-02-11T19:38:24.000Z",
  "_created": "2026-11-03T19:15:09.000Z",
  "_published": "2026-11-03T19:38:26.733Z",
  "_upstream": "https://github.com/gavinsimpson/gratia",
  "_status": "success",
  "_maintainer": {
    "name": "Gavin L. Simpson",
    "email": "ucfagls@gmail.com",
    "login": "gavinsimpson",
    "linkedin": "in/gavin-l-simpson",
    "orcid": "0000-0002-9084-8413",
    "description": "",
    "uuid": 514696
  },
  "_jobs": [
    {
      "job": 126146350367,
      "time": 701,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13263732208"
    },
    {
      "job": 126146350362,
      "time": 544,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13263606856"
    },
    {
      "job": 126146350315,
      "time": 688,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13264261995"
    },
    {
      "job": 126146350379,
      "time": 769,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13264392069"
    },
    {
      "job": 126146350631,
      "time": 687,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "13265076238"
    },
    {
      "job": 126146350635,
      "time": 1272,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "13264588150"
    },
    {
      "job": 126146350354,
      "time": 751,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13265495929"
    },
    {
      "job": 126146350345,
      "time": 1299,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13263738450"
    },
    {
      "job": 126141372319,
      "time": 544,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13262849266"
    },
    {
      "job": 126146350375,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13264705606"
    },
    {
      "job": 126146350430,
      "time": 934,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13263827648"
    },
    {
      "job": 126146350341,
      "time": 1096,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "13263768005"
    },
    {
      "job": 126146350617,
      "time": 941,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "13264092552"
    },
    {
      "job": 126146350433,
      "time": 946,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13264267542"
    },
    {
      "job": 126146350506,
      "time": 920,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13265196835"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489",
  "_commit": {
    "id": "dc825624407e79a6e2fffee10f94409b206a28bc",
    "author": "Gavin Simpson <ucfagls@gmail.com>",
    "committer": "Gavin Simpson <ucfagls@gmail.com>",
    "message": "Merge covariance test fix\n",
    "time": 1793700633
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "KernSmooth",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "version": ">= 1.9-4",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 4.0.3",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "version": ">= 1.3.2",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "mvnfast",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "pillar",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "role": "Suggests"
    },
    {
      "package": "coda",
      "role": "Suggests"
    },
    {
      "package": "bayesplot",
      "role": "Suggests"
    },
    {
      "package": "loo",
      "role": "Suggests"
    },
    {
      "package": "ggcube",
      "version": ">= 0.3.0",
      "role": "Suggests"
    },
    {
      "package": "geometry",
      "role": "Suggests"
    },
    {
      "package": "qgam",
      "role": "Suggests"
    },
    {
      "package": "tweedie",
      "version": ">= 2.3.5",
      "role": "Suggests"
    },
    {
      "package": "gamm4",
      "version": ">= 0.2-7",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "nlme",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "R6",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "scam",
      "version": ">= 1.2-21",
      "role": "Suggests"
    },
    {
      "package": "datasets",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "forcats",
      "role": "Suggests"
    },
    {
      "package": "GJRM",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "glmmTMB",
      "version": ">= 1.1.15.2",
      "role": "Suggests"
    },
    {
      "package": "sdmTMB",
      "version": ">= 1.2.0",
      "role": "Suggests"
    },
    {
      "package": "RTMB",
      "role": "Suggests"
    },
    {
      "package": "TMB",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "gamair",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "version": ">= 1.0-0",
      "role": "Suggests"
    },
    {
      "package": "marginaleffects",
      "role": "Suggests"
    },
    {
      "package": "mirai",
      "role": "Suggests"
    },
    {
      "package": "carrier",
      "role": "Suggests"
    }
  ],
  "_owner": "gavinsimpson",
  "_selfowned": true,
  "_usedby": 6,
  "_updates": [
    {
      "week": "2026-04",
      "n": 5
    },
    {
      "week": "2026-06",
      "n": 38
    },
    {
      "week": "2026-12",
      "n": 10
    },
    {
      "week": "2026-14",
      "n": 17
    },
    {
      "week": "2026-15",
      "n": 4
    },
    {
      "week": "2026-38",
      "n": 52
    },
    {
      "week": "2026-39",
      "n": 44
    },
    {
      "week": "2026-42",
      "n": 75
    },
    {
      "week": "2026-43",
      "n": 50
    },
    {
      "week": "2026-44",
      "n": 1
    },
    {
      "week": "2026-45",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "distributional-regression",
    "gam",
    "gamm",
    "generalized-additive-mixed-models",
    "generalized-additive-models",
    "ggplot2",
    "glm",
    "lm",
    "mgcv",
    "penalized-spline",
    "random-effects",
    "smoothing",
    "splines",
    "openblas",
    "cpp"
  ],
  "_stars": 234,
  "_contributors": [
    {
      "user": "gavinsimpson",
      "count": 3551,
      "uuid": 514696
    },
    {
      "user": "asgersvenning",
      "count": 11,
      "uuid": 82270047
    },
    {
      "user": "singmann",
      "count": 6,
      "uuid": 1902102
    },
    {
      "user": "ldalby",
      "count": 3,
      "uuid": 2366579
    },
    {
      "user": "davisvaughan",
      "count": 1,
      "uuid": 19150088
    },
    {
      "user": "muschellij2",
      "count": 1,
      "uuid": 1075118
    }
  ],
  "_userbio": {
    "uuid": 514696,
    "type": "user",
    "name": "Gavin Simpson",
    "followers": 575
  },
  "_downloads": {
    "count": 3910,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gratia"
  },
  "_mentions": 11,
  "_devurl": "https://github.com/gavinsimpson/gratia",
  "_pkgdown": "https://gavinsimpson.github.io/gratia/",
  "_searchresults": 2472,
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gratia.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/gavinsimpson/gratia",
  "_realowner": "gavinsimpson",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2-1",
      "date": "2019-02-01"
    },
    {
      "version": "0.2-8",
      "date": "2019-03-13"
    },
    {
      "version": "0.3.0",
      "date": "2020-01-19"
    },
    {
      "version": "0.3.1",
      "date": "2020-03-29"
    },
    {
      "version": "0.4.1",
      "date": "2020-05-31"
    },
    {
      "version": "0.5.0",
      "date": "2021-01-11"
    },
    {
      "version": "0.5.1",
      "date": "2021-01-24"
    },
    {
      "version": "0.6.0",
      "date": "2021-04-18"
    },
    {
      "version": "0.7.0",
      "date": "2022-02-07"
    },
    {
      "version": "0.7.2",
      "date": "2022-03-17"
    },
    {
      "version": "0.7.3",
      "date": "2022-05-09"
    },
    {
      "version": "0.8.1",
      "date": "2023-02-02"
    },
    {
      "version": "0.8.2",
      "date": "2024-01-09"
    },
    {
      "version": "0.9.0",
      "date": "2024-03-27"
    },
    {
      "version": "0.9.2",
      "date": "2024-06-25"
    },
    {
      "version": "0.10.0",
      "date": "2024-12-19"
    },
    {
      "version": "0.11.0",
      "date": "2025-08-18"
    },
    {
      "version": "0.11.1",
      "date": "2025-08-25"
    },
    {
      "version": "0.11.2",
      "date": "2026-02-07"
    }
  ],
  "_exports": [
    "add_confint",
    "add_constant",
    "add_fitted",
    "add_fitted_samples",
    "add_partial_residuals",
    "add_posterior_samples",
    "add_predicted_samples",
    "add_residuals",
    "add_sizer",
    "add_smooth_samples",
    "ale",
    "all_levels",
    "appraise",
    "as_mcmc_draws",
    "assemble",
    "basis",
    "basis_size",
    "boundary",
    "by_level",
    "by_variable",
    "check_is_mgcv_smooth",
    "compare_smooths",
    "concrvity",
    "conditional_differences",
    "conditional_moments",
    "conditional_values",
    "data_combos",
    "data_sim",
    "data_slice",
    "derivative_samples",
    "derivatives",
    "dharma_residuals",
    "difference_smooths",
    "dispersion",
    "draw",
    "draw_label_control",
    "edf",
    "eval_smooth",
    "evaluate_parametric_term",
    "evaluate_smooth",
    "evenly",
    "extract_link",
    "factor_combos",
    "family_name",
    "family_parameters",
    "family_type",
    "fderiv",
    "fitted_moments",
    "fitted_samples",
    "fitted_values",
    "fix_offset",
    "fixed_effects",
    "gaussian_draws",
    "generate_draws",
    "get_by_smooth",
    "get_smooth",
    "get_smooths_by_id",
    "get_vcov",
    "gratia_palette",
    "gratia_theme_get",
    "gratia_theme_set",
    "gratia_theme_update",
    "gw_f0",
    "gw_f1",
    "gw_f2",
    "gw_f3",
    "has_theta",
    "in_shape_set",
    "inv_link",
    "is_by_smooth",
    "is_continuous_by_smooth",
    "is_factor_by_smooth",
    "is_factor_term",
    "is_mgcv_family",
    "is_mgcv_smooth",
    "is_mrf_smooth",
    "is_multivariate_y",
    "is_offset",
    "level",
    "link",
    "load_mgcv",
    "log_lik",
    "lp_matrix",
    "mh_draws",
    "model_concurvity",
    "model_constant",
    "model_edf",
    "model_terms",
    "model_vars",
    "n_eta",
    "n_smooths",
    "nb_theta",
    "null_deviance",
    "observed_fitted_plot",
    "overview",
    "parametric_effects",
    "parametric_terms",
    "partial_derivatives",
    "partial_residuals",
    "penalty",
    "post_draws",
    "posterior_predictive_plot",
    "posterior_samples",
    "predicted_samples",
    "qq_plot",
    "quantile_residuals",
    "random_effect_samples",
    "ref_level",
    "residual_correlation",
    "residual_correlation_plot",
    "residuals_covariate_plot",
    "residuals_hist_plot",
    "residuals_linpred_plot",
    "response_derivatives",
    "rootogram",
    "rtw",
    "sampling_diagnostics",
    "scalable_observed_fitted_plot",
    "scalable_qq_plot",
    "scalable_residuals_covariate_plot",
    "scalable_residuals_hist_plot",
    "scalable_residuals_linpred_plot",
    "scalable_worm_plot",
    "scale_fill_partial_effect",
    "shape_confidence_set",
    "shape_intervals",
    "smooth_coef_indices",
    "smooth_coefs",
    "smooth_data",
    "smooth_dim",
    "smooth_estimates",
    "smooth_label",
    "smooth_samples",
    "smooth_terms",
    "smooth_type",
    "smooths",
    "spline_values",
    "spline_values2",
    "stop_if_not_mgcv_smooth",
    "surrogate_residuals",
    "term_names",
    "term_variables",
    "theta",
    "tidy_basis",
    "to_na",
    "too_far",
    "too_far_to_na",
    "transform_fun",
    "typical_values",
    "user_draws",
    "variance_comp",
    "vars_from_label",
    "which_smooths",
    "worm_plot"
  ],
  "_datasets": [
    {
      "name": "bird_move",
      "title": "Simulated bird migration data",
      "object": "bird_move",
      "class": [
        "data.frame"
      ],
      "fields": [
        "latitude",
        "week",
        "species",
        "count"
      ],
      "rows": 840,
      "table": true,
      "tojson": true
    },
    {
      "name": "gss_vocab",
      "title": "Data from the General Social Survey (GSS) from the National Opinion Research Center of the University of Chicago",
      "object": "gss_vocab",
      "class": [
        "data.frame"
      ],
      "fields": [
        "vocab",
        "ageGroup",
        "nativeBorn"
      ],
      "rows": 1858,
      "table": true,
      "tojson": true
    },
    {
      "name": "ref_sims",
      "title": "Reference simulation data",
      "object": "ref_sims",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "smallAges",
      "title": "Lead-210 age-depth measurements for Small Water",
      "object": "smallAges",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Depth",
        "Drymass",
        "Date",
        "Age",
        "Error",
        "SedAccRate",
        "SedPerCentChange"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    },
    {
      "name": "zooplankton",
      "title": "Madison lakes zooplankton data",
      "object": "zooplankton",
      "class": [
        "data.frame"
      ],
      "fields": [
        "day",
        "year",
        "lake",
        "taxon",
        "density",
        "density_adj",
        "min_density",
        "density_scaled",
        "year_f"
      ],
      "rows": 5848,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_confint",
      "title": "Add a confidence interval to an existing object",
      "topics": [
        "add_confint",
        "add_confint.default",
        "add_confint.parametric_effects",
        "add_confint.smooth_estimates"
      ]
    },
    {
      "page": "add_constant",
      "title": "Add a constant to estimated values",
      "topics": [
        "add_constant",
        "add_constant.evaluated_parametric_term",
        "add_constant.mgcv_smooth",
        "add_constant.parametric_effects",
        "add_constant.smooth_estimates",
        "add_constant.smooth_samples",
        "add_constant.tbl_df"
      ]
    },
    {
      "page": "add_fitted",
      "title": "Add fitted values from a model to a data frame",
      "topics": [
        "add_fitted",
        "add_fitted.gamm4",
        "add_fitted.scam"
      ]
    },
    {
      "page": "add_fitted_samples",
      "title": "Add posterior draws from a model to a data object",
      "topics": [
        "add_fitted_samples",
        "add_posterior_samples",
        "add_predicted_samples",
        "add_smooth_samples"
      ]
    },
    {
      "page": "add_fitted.gam",
      "title": "Add fitted values from a GAM to a data frame",
      "topics": [
        "add_fitted.gam"
      ]
    },
    {
      "page": "add_partial_residuals",
      "title": "Add partial residuals",
      "topics": [
        "add_partial_residuals",
        "add_partial_residuals.gam",
        "add_partial_residuals.gamm4",
        "add_partial_residuals.scam"
      ]
    },
    {
      "page": "add_residuals",
      "title": "Add residuals from a model to a data frame",
      "topics": [
        "add_residuals",
        "add_residuals.gamm4",
        "add_residuals.scam"
      ]
    },
    {
      "page": "add_residuals.gam",
      "title": "Add residuals from a GAM to a data frame",
      "topics": [
        "add_residuals.gam"
      ]
    },
    {
      "page": "add_sizer",
      "title": "Add indicators of significant change after SiZeR",
      "topics": [
        "add_sizer",
        "add_sizer.derivatives",
        "add_sizer.smooth_estimates"
      ]
    },
    {
      "page": "ale",
      "title": "Accumulated local effects of a model covariate",
      "topics": [
        "ale",
        "ale.bam",
        "ale.default",
        "ale.gam",
        "ale.scam"
      ]
    },
    {
      "page": "appraise",
      "title": "Model diagnostic plots",
      "topics": [
        "appraise",
        "appraise.default",
        "appraise.gam",
        "appraise.gamlss",
        "appraise.gamm",
        "appraise.gamm4",
        "appraise.gjrm",
        "appraise.gratia_diagnostic_proxy",
        "appraise.lm",
        "appraise.lme",
        "appraise.merMod",
        "appraise.sdmTMB"
      ]
    },
    {
      "page": "as_mcmc_draws",
      "title": "Convert posterior samples for MCMC diagnostics",
      "topics": [
        "as_mcmc_draws"
      ]
    },
    {
      "page": "assemble",
      "title": "Prepare plots via 'ggplot2' and assembles them as a list",
      "topics": [
        "assemble",
        "assemble.gamm4"
      ]
    },
    {
      "page": "assemble.gam",
      "title": "Plot smooth and parametric terms from a fitted GAM",
      "topics": [
        "assemble.gam",
        "assemble.gamm",
        "assemble.scam"
      ]
    },
    {
      "page": "basis",
      "title": "Basis expansions for smooths",
      "topics": [
        "basis",
        "basis.default",
        "basis.gam",
        "basis.gamm",
        "basis.gamm4",
        "basis.scam"
      ]
    },
    {
      "page": "basis_size",
      "title": "Extract basis dimension of a smooth",
      "topics": [
        "basis_size",
        "basis_size.gam",
        "basis_size.gamm",
        "basis_size.gamm4",
        "basis_size.mgcv.smooth",
        "basis_size.scam"
      ]
    },
    {
      "page": "bird_move",
      "title": "Simulated bird migration data",
      "topics": [
        "bird_move"
      ]
    },
    {
      "page": "boundary",
      "title": "Extract the boundary of a soap film smooth",
      "topics": [
        "boundary",
        "boundary.gam",
        "boundary.gamm4",
        "boundary.soap.film"
      ]
    },
    {
      "page": "check_user_select_smooths",
      "title": "Select smooths based on user's choices",
      "topics": [
        "check_user_select_smooths"
      ]
    },
    {
      "page": "coef.scam",
      "title": "Extract coefficients from a fitted 'scam' model.",
      "topics": [
        "coef.scam"
      ]
    },
    {
      "page": "compare_smooths",
      "title": "Compare smooths across models",
      "topics": [
        "compare_smooths"
      ]
    },
    {
      "page": "conditional_differences",
      "title": "Conditional differences of fitted values from a GAM",
      "topics": [
        "conditional_differences",
        "conditional_differences.gam",
        "conditional_differences.gamm4",
        "conditional_differences.scam"
      ]
    },
    {
      "page": "conditional_moments",
      "title": "Conditional moments of a GAM response distribution",
      "topics": [
        "conditional_moments",
        "conditional_moments.gam"
      ]
    },
    {
      "page": "conditional_values",
      "title": "Conditional predictions from a GAM",
      "topics": [
        "conditional_values",
        "conditional_values.gam",
        "conditional_values.gamm4",
        "conditional_values.scam"
      ]
    },
    {
      "page": "confint.fderiv",
      "title": "Point-wise and simultaneous confidence intervals for derivatives of smooths",
      "topics": [
        "confint.fderiv"
      ]
    },
    {
      "page": "confint.gam",
      "title": "Point-wise and simultaneous confidence intervals for smooths",
      "topics": [
        "confint.gam",
        "confint.gamm",
        "confint.gamm4",
        "confint.scam"
      ]
    },
    {
      "page": "data_combos",
      "title": "All combinations of factor levels plus typical values of continuous variables",
      "topics": [
        "data_combos",
        "data_combos.gam",
        "data_combos.gamm4"
      ]
    },
    {
      "page": "data_sim",
      "title": "Simulate example data for fitting GAMs",
      "topics": [
        "data_sim"
      ]
    },
    {
      "page": "data_sim_families",
      "title": "Generating responses with mgcv family objects",
      "topics": [
        "data_sim_families"
      ]
    },
    {
      "page": "data_sim_shapes",
      "title": "Reference functions for shape-constrained GAMs",
      "topics": [
        "data_sim_shapes"
      ]
    },
    {
      "page": "data_slice",
      "title": "Prepare a data slice through model covariates",
      "topics": [
        "data_slice",
        "data_slice.data.frame",
        "data_slice.default",
        "data_slice.gam",
        "data_slice.gamm",
        "data_slice.gamm4",
        "data_slice.scam"
      ]
    },
    {
      "page": "derivative_samples",
      "title": "Posterior expectations of derivatives from an estimated model",
      "topics": [
        "derivative_samples",
        "derivative_samples.default",
        "derivative_samples.gam",
        "derivative_samples.gamm",
        "derivative_samples.gamm4",
        "derivative_samples.scam"
      ]
    },
    {
      "page": "derivatives",
      "title": "Derivatives of estimated smooths via finite differences",
      "topics": [
        "derivatives",
        "derivatives.default",
        "derivatives.gam",
        "derivatives.gamm",
        "derivatives.gamm4",
        "derivatives.scam"
      ]
    },
    {
      "page": "dharma_residuals",
      "title": "Simulation-based PIT residuals",
      "topics": [
        "dharma_residuals"
      ]
    },
    {
      "page": "diagnostic_support",
      "title": "Model diagnostic support and conventions",
      "topics": [
        "diagnostic_support"
      ]
    },
    {
      "page": "difference_smooths",
      "title": "Differences of factor smooth interactions",
      "topics": [
        "difference_smooths",
        "difference_smooths.gam",
        "difference_smooths.scam"
      ]
    },
    {
      "page": "dispersion",
      "title": "Dispersion parameter for fitted model",
      "topics": [
        "dispersion",
        "dispersion.gam",
        "dispersion.gamm4",
        "dispersion.glm",
        "dispersion.scam"
      ]
    },
    {
      "page": "draw",
      "title": "Generic plotting via 'ggplot2'",
      "topics": [
        "draw"
      ]
    },
    {
      "page": "draw_label_control",
      "title": "Control label layout in gratia plots",
      "topics": [
        "draw_label_control"
      ]
    },
    {
      "page": "draw.ale",
      "title": "Plot accumulated local effects",
      "topics": [
        "draw.ale"
      ]
    },
    {
      "page": "draw.basis",
      "title": "Plot basis functions",
      "topics": [
        "draw.basis"
      ]
    },
    {
      "page": "draw.compare_smooths",
      "title": "Plot comparisons of smooths",
      "topics": [
        "draw.compare_smooths"
      ]
    },
    {
      "page": "draw.conditional_differences",
      "title": "Plot conditional differences",
      "topics": [
        "draw.conditional_differences"
      ]
    },
    {
      "page": "draw.conditional_moments",
      "title": "Draw conditional response moments",
      "topics": [
        "draw.conditional_moments"
      ]
    },
    {
      "page": "draw.conditional_values",
      "title": "Plot conditional predictions",
      "topics": [
        "draw.conditional_values"
      ]
    },
    {
      "page": "draw.derivatives",
      "title": "Plot derivatives of smooths",
      "topics": [
        "draw.derivatives",
        "draw.partial_derivatives"
      ]
    },
    {
      "page": "draw.difference_smooth",
      "title": "Plot differences of smooths",
      "topics": [
        "draw.difference_smooth"
      ]
    },
    {
      "page": "draw.evaluated_parametric_term",
      "title": "Plot estimated parametric effects",
      "topics": [
        "draw.evaluated_parametric_term"
      ]
    },
    {
      "page": "draw.gam",
      "title": "Plot smooth and parametric terms from a fitted GAM",
      "topics": [
        "draw.gam",
        "draw.gamm",
        "draw.scam",
        "draw.scasm"
      ]
    },
    {
      "page": "draw.gamlss",
      "title": "Plot smooths of models estimated by GJRM",
      "topics": [
        "assemble.gamlss",
        "assemble.gjrm",
        "draw.gamlss",
        "draw.gjrm"
      ]
    },
    {
      "page": "draw.mgcv_smooth",
      "title": "Plot basis functions",
      "topics": [
        "draw.mgcv_smooth"
      ]
    },
    {
      "page": "draw.pairwise_concurvity",
      "title": "Plot concurvity measures",
      "topics": [
        "draw.overall_concurvity",
        "draw.pairwise_concurvity"
      ]
    },
    {
      "page": "draw.parametric_effects",
      "title": "Plot estimated effects for model parametric terms",
      "topics": [
        "draw.parametric_effects"
      ]
    },
    {
      "page": "draw.penalty_df",
      "title": "Display penalty matrices of smooths using 'ggplot'",
      "topics": [
        "draw.penalty_df"
      ]
    },
    {
      "page": "draw.rootogram",
      "title": "Draw a rootogram",
      "concept": [
        "draw methods"
      ],
      "topics": [
        "draw.rootogram"
      ]
    },
    {
      "page": "draw.sampling_diagnostics",
      "title": "Plot coefficient-chain diagnostics",
      "topics": [
        "draw.sampling_diagnostics"
      ]
    },
    {
      "page": "draw.smooth_estimates",
      "title": "Plot the result of a call to 'smooth_estimates()'",
      "topics": [
        "draw.smooth_estimates"
      ]
    },
    {
      "page": "draw.smooth_samples",
      "title": "Plot posterior smooths",
      "topics": [
        "draw.smooth_samples"
      ]
    },
    {
      "page": "draw.variance_comp",
      "title": "Plot variance components and proportions of term variance",
      "topics": [
        "draw.variance_comp"
      ]
    },
    {
      "page": "edf",
      "title": "Effective degrees of freedom for smooths and GAMs",
      "topics": [
        "edf",
        "edf.gam",
        "edf.gamm4",
        "edf.scam",
        "model_edf"
      ]
    },
    {
      "page": "eval_smooth",
      "title": "S3 methods to evaluate individual smooths",
      "topics": [
        "eval_smooth",
        "eval_smooth.fs.interaction",
        "eval_smooth.mgcv.smooth",
        "eval_smooth.mrf.smooth",
        "eval_smooth.random.effect",
        "eval_smooth.scam_smooth",
        "eval_smooth.soap.film",
        "eval_smooth.sz.interaction",
        "eval_smooth.t2.smooth",
        "eval_smooth.tensor.smooth"
      ]
    },
    {
      "page": "evaluate_parametric_term",
      "title": "Evaluate parametric model terms",
      "topics": [
        "evaluate_parametric_term",
        "evaluate_parametric_term.gam",
        "evaluate_parametric_term.gamm4"
      ]
    },
    {
      "page": "evaluate_smooth",
      "title": "Evaluate a smooth",
      "topics": [
        "evaluate_smooth"
      ]
    },
    {
      "page": "evenly",
      "title": "Create a sequence of evenly-spaced values",
      "topics": [
        "all_levels",
        "evenly",
        "seq_min_max"
      ]
    },
    {
      "page": "factor_combos",
      "title": "All combinations of factor levels",
      "topics": [
        "factor_combos",
        "factor_combos.gam",
        "factor_combos.gamm4"
      ]
    },
    {
      "page": "family_diagnostics",
      "title": "Extend diagnostics for an mgcv-compatible family",
      "topics": [
        "family_diagnostics"
      ]
    },
    {
      "page": "family_name",
      "title": "Name of family used to fit model",
      "topics": [
        "family_name"
      ]
    },
    {
      "page": "family_parameters",
      "title": "Describe a model family's distribution parameters",
      "topics": [
        "family_parameters"
      ]
    },
    {
      "page": "family_type",
      "title": "Extracts the type of family in a consistent way",
      "topics": [
        "family_type",
        "family_type.default",
        "family_type.family"
      ]
    },
    {
      "page": "family.gam",
      "title": "Extract family objects from models",
      "topics": [
        "family.bam",
        "family.gam",
        "family.gamm",
        "family.gamm4"
      ]
    },
    {
      "page": "fitted_moments",
      "title": "Estimate moments of the conditional response distribution",
      "topics": [
        "fitted_moments",
        "fitted_moments.gam"
      ]
    },
    {
      "page": "fitted_samples",
      "title": "Draw fitted values from the posterior distribution",
      "topics": [
        "fitted_samples",
        "fitted_samples.gam",
        "fitted_samples.gamm4",
        "fitted_samples.scam"
      ]
    },
    {
      "page": "fitted_values",
      "title": "Generate fitted values from a estimated GAM",
      "topics": [
        "fitted_values",
        "fitted_values.gam",
        "fitted_values.gamm",
        "fitted_values.gamm4",
        "fitted_values.scam"
      ]
    },
    {
      "page": "fix_offset",
      "title": "Fix the names of a data frame containing an offset variable.",
      "topics": [
        "fix_offset"
      ]
    },
    {
      "page": "fixed_effects.gam",
      "title": "Extract fixed effects estimates from a fitted model",
      "topics": [
        "fixed_effects",
        "fixed_effects.default",
        "fixed_effects.gam",
        "fixed_effects.gamm",
        "fixed_effects.gamm4",
        "fixed_effects.glm",
        "fixed_effects.lm",
        "fixed_effects.scam"
      ]
    },
    {
      "page": "gamm4_support",
      "title": "Support for models fitted by gamm4",
      "topics": [
        "gamm4_support"
      ]
    },
    {
      "page": "gaussian_draws",
      "title": "Posterior samples using a Gaussian approximation",
      "topics": [
        "gaussian_draws",
        "gaussian_draws.gam",
        "gaussian_draws.gamm4",
        "gaussian_draws.scam"
      ]
    },
    {
      "page": "get_by_smooth",
      "title": "Extract an factor-by smooth by name",
      "topics": [
        "get_by_smooth"
      ]
    },
    {
      "page": "get_smooth",
      "title": "Extract an mgcv smooth by name",
      "topics": [
        "get_smooth"
      ]
    },
    {
      "page": "get_smooths_by_id",
      "title": "Extract an mgcv smooth given its position in the model object",
      "topics": [
        "get_smooths_by_id",
        "get_smooths_by_id.gam",
        "get_smooths_by_id.gamm",
        "get_smooths_by_id.gamm4",
        "get_smooths_by_id.scam"
      ]
    },
    {
      "page": "get_vcov",
      "title": "Extract the covariance matrix of the model parameters or a subset of these for a particular model term",
      "topics": [
        "get_vcov",
        "get_vcov.scam"
      ]
    },
    {
      "page": "gratia_palette",
      "title": "Discrete palettes for gratia plots",
      "topics": [
        "gratia_palette"
      ]
    },
    {
      "page": "gratia_theme_get",
      "title": "Native themes for gratia plots",
      "topics": [
        "gratia_theme_get",
        "gratia_theme_set",
        "gratia_theme_update"
      ]
    },
    {
      "page": "gss_vocab",
      "title": "Data from the General Social Survey (GSS) from the National Opinion Research Center of the University of Chicago",
      "topics": [
        "gss_vocab"
      ]
    },
    {
      "page": "gw_functions",
      "title": "Gu and Wahba test functions",
      "topics": [
        "gw_f0",
        "gw_f1",
        "gw_f2",
        "gw_f3",
        "gw_functions"
      ]
    },
    {
      "page": "has_theta",
      "title": "Are additional parameters available for a GAM?",
      "topics": [
        "has_theta"
      ]
    },
    {
      "page": "is_by_smooth",
      "title": "Tests for by variable smooths",
      "topics": [
        "by_level",
        "by_variable",
        "is_by_smooth",
        "is_continuous_by_smooth",
        "is_factor_by_smooth"
      ]
    },
    {
      "page": "is_factor_term",
      "title": "Is a model term a factor (categorical)?",
      "topics": [
        "is_factor_term",
        "is_factor_term.bam",
        "is_factor_term.gam",
        "is_factor_term.gamm",
        "is_factor_term.gamm4",
        "is_factor_term.list",
        "is_factor_term.terms"
      ]
    },
    {
      "page": "is_mgcv_family",
      "title": "Is an object one of mgcv's family objects?",
      "topics": [
        "is_mgcv_family"
      ]
    },
    {
      "page": "is_mgcv_smooth",
      "title": "Check if objects are smooths or are a particular type of smooth",
      "topics": [
        "check_is_mgcv_smooth",
        "is_mgcv_smooth",
        "is_mrf_smooth",
        "stop_if_not_mgcv_smooth"
      ]
    },
    {
      "page": "is_multivariate_y",
      "title": "Is a model multivariate?",
      "topics": [
        "is_multivariate_y"
      ]
    },
    {
      "page": "is_offset",
      "title": "Is a model term an offset?",
      "topics": [
        "is_offset"
      ]
    },
    {
      "page": "link",
      "title": "Extract link and inverse link functions from models",
      "topics": [
        "extract_link",
        "extract_link.family",
        "extract_link.general.family",
        "inv_link",
        "inv_link.bam",
        "inv_link.family",
        "inv_link.gam",
        "inv_link.gamm",
        "inv_link.gamm4",
        "inv_link.glm",
        "link",
        "link.bam",
        "link.family",
        "link.gam",
        "link.gamm",
        "link.gamm4",
        "link.glm"
      ]
    },
    {
      "page": "load_mgcv",
      "title": "Load mgcv quietly",
      "topics": [
        "load_mgcv"
      ]
    },
    {
      "page": "log_lik",
      "title": "Posterior draws of pointwise log likelihoods",
      "topics": [
        "log_lik",
        "log_lik.bam",
        "log_lik.gam",
        "log_lik.scam"
      ]
    },
    {
      "page": "loo.gam",
      "title": "Leave-one-out validation and WAIC for GAMs",
      "topics": [
        "loo.bam",
        "loo.gam",
        "loo.scam",
        "waic.bam",
        "waic.gam",
        "waic.scam"
      ]
    },
    {
      "page": "lp_matrix",
      "title": "Return the linear prediction matrix of a fitted GAM",
      "topics": [
        "lp_matrix",
        "lp_matrix.gam",
        "lp_matrix.gamm4",
        "lp_matrix.scam",
        "model.matrix.scam"
      ]
    },
    {
      "page": "mh_draws",
      "title": "Posterior samples using Metropolis Hastings",
      "topics": [
        "mh_draws",
        "mh_draws.gam",
        "mh_draws.gamm4",
        "mh_draws.scam"
      ]
    },
    {
      "page": "model_concurvity",
      "title": "Concurvity of an estimated GAM",
      "topics": [
        "concrvity",
        "model_concurvity",
        "model_concurvity.gam",
        "model_concurvity.gamm4",
        "model_concurvity.scam"
      ]
    },
    {
      "page": "model_constant",
      "title": "Extract the model constant term",
      "topics": [
        "model_constant",
        "model_constant.gam",
        "model_constant.gamlss",
        "model_constant.gamm4",
        "model_constant.glm",
        "model_constant.scam"
      ]
    },
    {
      "page": "model_terms",
      "title": "Find the names of model terms",
      "topics": [
        "model_terms",
        "model_terms.gam",
        "model_terms.gamm",
        "model_terms.gamm4",
        "model_terms.lm",
        "model_terms.scam"
      ]
    },
    {
      "page": "model_vars",
      "title": "List the variables involved in a model fitted with a formula",
      "topics": [
        "model_vars",
        "model_vars.bam",
        "model_vars.default",
        "model_vars.gam",
        "model_vars.gamm",
        "model_vars.gamm4",
        "model_vars.scam"
      ]
    },
    {
      "page": "n_eta",
      "title": "The Number of linear predictors in model",
      "topics": [
        "n_eta",
        "n_eta.gam",
        "n_eta.gamm4",
        "n_eta.scam"
      ]
    },
    {
      "page": "n_smooths",
      "title": "How many smooths in a fitted model",
      "topics": [
        "n_smooths",
        "n_smooths.bam",
        "n_smooths.default",
        "n_smooths.gam",
        "n_smooths.gamm",
        "n_smooths.gamm4",
        "n_smooths.gjrm",
        "n_smooths.glmmTMB"
      ]
    },
    {
      "page": "nb_theta",
      "title": "Negative binomial parameter theta",
      "topics": [
        "nb_theta",
        "nb_theta.gam",
        "nb_theta.gamm4"
      ]
    },
    {
      "page": "null_deviance",
      "title": "Extract the null deviance of a fitted model",
      "topics": [
        "null_deviance",
        "null_deviance.default"
      ]
    },
    {
      "page": "observed_fitted_plot",
      "title": "Plot of fitted against observed response values",
      "topics": [
        "observed_fitted_plot"
      ]
    },
    {
      "page": "overview",
      "title": "Provides an overview of a model and the terms in that model",
      "topics": [
        "overview",
        "overview.gam",
        "overview.gamm4",
        "overview.scam"
      ]
    },
    {
      "page": "parametric_effects",
      "title": "Estimated values for parametric model terms",
      "topics": [
        "parametric_effects",
        "parametric_effects.gam",
        "parametric_effects.gamm4",
        "parametric_effects.scam"
      ]
    },
    {
      "page": "parametric_terms",
      "title": "Names of any parametric terms in a GAM",
      "topics": [
        "parametric_terms",
        "parametric_terms.default",
        "parametric_terms.gam",
        "parametric_terms.gamm4",
        "parametric_terms.scam"
      ]
    },
    {
      "page": "partial_derivatives",
      "title": "Partial derivatives of estimated multivariate smooths via finite differences",
      "topics": [
        "partial_derivatives",
        "partial_derivatives.default",
        "partial_derivatives.gam",
        "partial_derivatives.gamm",
        "partial_derivatives.gamm4",
        "partial_derivatives.scam"
      ]
    },
    {
      "page": "partial_residuals",
      "title": "Partial residuals",
      "topics": [
        "partial_residuals",
        "partial_residuals.gam",
        "partial_residuals.scam"
      ]
    },
    {
      "page": "penalty",
      "title": "Extract and tidy penalty matrices",
      "topics": [
        "penalty",
        "penalty.default",
        "penalty.gam",
        "penalty.gamm4",
        "penalty.mgcv.smooth",
        "penalty.re.smooth.spec",
        "penalty.scam",
        "penalty.t2.smooth",
        "penalty.tensor.smooth"
      ]
    },
    {
      "page": "post_draws",
      "title": "Low-level Functions to generate draws from the posterior distribution of model coefficients",
      "topics": [
        "generate_draws",
        "generate_draws.gam",
        "generate_draws.gamm4",
        "generate_draws.scam",
        "post_draws",
        "post_draws.default",
        "post_draws.gamm4"
      ]
    },
    {
      "page": "posterior_predictive_plot",
      "title": "Posterior predictive check of the response distribution",
      "topics": [
        "posterior_predictive_plot"
      ]
    },
    {
      "page": "posterior_samples",
      "title": "Draw samples from the posterior distribution of an estimated model",
      "topics": [
        "posterior_samples",
        "posterior_samples.gam",
        "posterior_samples.gamlss",
        "posterior_samples.gamm",
        "posterior_samples.gamm4",
        "posterior_samples.glm",
        "posterior_samples.glmmTMB",
        "posterior_samples.lm",
        "posterior_samples.lme",
        "posterior_samples.merMod",
        "posterior_samples.scam",
        "posterior_samples.sdmTMB"
      ]
    },
    {
      "page": "pp_check",
      "title": "Posterior checks with bayesplot",
      "topics": [
        "pp_check",
        "pp_check.bam",
        "pp_check.gam",
        "pp_check.gamm",
        "pp_check.gamm4",
        "pp_check.scam"
      ]
    },
    {
      "page": "predicted_samples",
      "title": "Draw new response values from the conditional distribution of the response",
      "topics": [
        "predicted_samples",
        "predicted_samples.default",
        "predicted_samples.gam",
        "predicted_samples.gamm4",
        "predicted_samples.scam"
      ]
    },
    {
      "page": "qq_plot",
      "title": "Quantile-quantile plot of model residuals",
      "topics": [
        "qq_plot",
        "qq_plot.default",
        "qq_plot.gam",
        "qq_plot.gamlss",
        "qq_plot.gamm",
        "qq_plot.gamm4",
        "qq_plot.gjrm",
        "qq_plot.glm",
        "qq_plot.gratia_diagnostic_proxy",
        "qq_plot.lm",
        "qq_plot.lme",
        "qq_plot.merMod",
        "qq_plot.sdmTMB"
      ]
    },
    {
      "page": "glmmTMB-methods",
      "title": "Effects and diagnostics for glmmTMB models",
      "topics": [
        "appraise.glmmTMB",
        "assemble.glmmTMB",
        "draw.glmmTMB",
        "get_smooths_by_id.glmmTMB",
        "glmmTMB-methods",
        "parametric_effects.glmmTMB",
        "parametric_terms.glmmTMB",
        "qq_plot.glmmTMB",
        "smooths.glmmTMB",
        "smooth_coefs.glmmTMB",
        "smooth_estimates.glmmTMB",
        "worm_plot.glmmTMB"
      ]
    },
    {
      "page": "quantile_residuals",
      "title": "PIT and randomised quantile residuals",
      "topics": [
        "quantile_residuals",
        "quantile_residuals.default",
        "quantile_residuals.gam",
        "quantile_residuals.gamlss",
        "quantile_residuals.gamm",
        "quantile_residuals.gamm4",
        "quantile_residuals.gjrm",
        "quantile_residuals.glm",
        "quantile_residuals.glmmTMB",
        "quantile_residuals.gratia_diagnostic_proxy",
        "quantile_residuals.gratia_glmmtmb_diagnostic",
        "quantile_residuals.lm",
        "quantile_residuals.lme",
        "quantile_residuals.merMod",
        "quantile_residuals.sdmTMB"
      ]
    },
    {
      "page": "random_effect_samples",
      "title": "Draw new random effects from an estimated GAM",
      "topics": [
        "random_effect_samples"
      ]
    },
    {
      "page": "ref_level",
      "title": "Return the reference or specific level of a factor",
      "topics": [
        "level",
        "ref_level"
      ]
    },
    {
      "page": "ref_sims",
      "title": "Reference simulation data",
      "topics": [
        "ref_sims"
      ]
    },
    {
      "page": "rep_first_factor_value",
      "title": "Repeat the first level of a factor n times",
      "topics": [
        "rep_first_factor_value"
      ]
    },
    {
      "page": "residual_correlation",
      "title": "Ordered residual correlation diagnostics",
      "topics": [
        "residual_correlation",
        "residual_correlation_plot"
      ]
    },
    {
      "page": "residuals_covariate_plot",
      "title": "Plot residuals against covariates",
      "topics": [
        "residuals_covariate_plot",
        "scalable_residuals_covariate_plot"
      ]
    },
    {
      "page": "residuals_hist_plot",
      "title": "Histogram of model residuals",
      "topics": [
        "residuals_hist_plot"
      ]
    },
    {
      "page": "residuals_linpred_plot",
      "title": "Plot of residuals versus linear predictor values",
      "topics": [
        "residuals_linpred_plot"
      ]
    },
    {
      "page": "response_derivatives",
      "title": "Derivatives on the response scale from an estimated GAM",
      "topics": [
        "response_derivatives",
        "response_derivatives.default",
        "response_derivatives.gam",
        "response_derivatives.gamm",
        "response_derivatives.gamm4",
        "response_derivatives.scam"
      ]
    },
    {
      "page": "rootogram",
      "title": "Rootograms to assess goodness of model fit",
      "topics": [
        "rootogram",
        "rootogram.gam",
        "rootogram.gamm4",
        "rootogram.scam"
      ]
    },
    {
      "page": "rtw",
      "title": "Simulator for tweedie LSS models",
      "topics": [
        "rtw"
      ]
    },
    {
      "page": "sampling_diagnostics",
      "title": "Extract coefficient-sampler diagnostics",
      "topics": [
        "print.sampling_diagnostics",
        "sampling_diagnostics"
      ]
    },
    {
      "page": "scalable_qq_plot",
      "title": "Scalable model diagnostic plots",
      "topics": [
        "scalable_observed_fitted_plot",
        "scalable_qq_plot",
        "scalable_residuals_hist_plot",
        "scalable_residuals_linpred_plot",
        "scalable_worm_plot"
      ]
    },
    {
      "page": "scale_fill_partial_effect",
      "title": "Default diverging red-blue colour palette for partial effects",
      "topics": [
        "scale_fill_partial_effect"
      ]
    },
    {
      "page": "sdmTMB-methods",
      "title": "Formula effects for sdmTMB models",
      "topics": [
        "assemble.sdmTMB",
        "draw.sdmTMB",
        "get_smooths_by_id.sdmTMB",
        "n_smooths.sdmTMB",
        "parametric_effects.sdmTMB",
        "parametric_terms.sdmTMB",
        "sdmTMB-methods",
        "smooths.sdmTMB",
        "smooth_coefs.sdmTMB",
        "smooth_estimates.sdmTMB"
      ]
    },
    {
      "page": "seq_min_max_eps",
      "title": "Create a sequence of evenly-spaced values adjusted to accommodate a small adjustment",
      "topics": [
        "seq_min_max_eps"
      ]
    },
    {
      "page": "shape_confidence_set",
      "title": "Intersect a band with linear restrictions on coefficients",
      "topics": [
        "in_shape_set",
        "shape_confidence_set"
      ]
    },
    {
      "page": "shape_intervals",
      "title": "Enforce named shapes on estimates and interval endpoints",
      "topics": [
        "shape_intervals"
      ]
    },
    {
      "page": "shift_values",
      "title": "Shift numeric values in a data frame by an amount 'eps'",
      "topics": [
        "shift_values"
      ]
    },
    {
      "page": "simulate",
      "title": "Simulate responses from a fitted model",
      "topics": [
        "simulate",
        "simulate.gam",
        "simulate.gamlss",
        "simulate.gamm",
        "simulate.gamm4",
        "simulate.scam"
      ]
    },
    {
      "page": "simultaneous_bands",
      "title": "Simultaneous bands on an evaluation grid or a continuous interval",
      "topics": [
        "simultaneous_bands"
      ]
    },
    {
      "page": "smallAges",
      "title": "Lead-210 age-depth measurements for Small Water",
      "topics": [
        "smallAges"
      ]
    },
    {
      "page": "smooth_coef_indices",
      "title": "Indices of the parametric terms for a particular smooth",
      "topics": [
        "smooth_coef_indices"
      ]
    },
    {
      "page": "smooth_coefs",
      "title": "Coefficients for a particular smooth",
      "topics": [
        "smooth_coefs",
        "smooth_coefs.bam",
        "smooth_coefs.gam",
        "smooth_coefs.gamm",
        "smooth_coefs.gamm4",
        "smooth_coefs.mgcv.smooth",
        "smooth_coefs.scam"
      ]
    },
    {
      "page": "smooth_data",
      "title": "Generate regular data over the covariates of a smooth",
      "topics": [
        "smooth_data"
      ]
    },
    {
      "page": "smooth_dim",
      "title": "Dimension of a smooth",
      "topics": [
        "smooth_dim",
        "smooth_dim.gam",
        "smooth_dim.gamm",
        "smooth_dim.gamm4",
        "smooth_dim.mgcv.smooth"
      ]
    },
    {
      "page": "smooth_estimates",
      "title": "Evaluate smooths at covariate values",
      "topics": [
        "smooth_estimates",
        "smooth_estimates.gam",
        "smooth_estimates.gamlss",
        "smooth_estimates.gjrm"
      ]
    },
    {
      "page": "smooth_label",
      "title": "Extract the label for a smooth used by 'mgcv'",
      "topics": [
        "smooth_label",
        "smooth_label.gam",
        "smooth_label.gamm4",
        "smooth_label.mgcv.smooth"
      ]
    },
    {
      "page": "smooth_samples",
      "title": "Posterior draws for individual smooths",
      "topics": [
        "smooth_samples",
        "smooth_samples.gam",
        "smooth_samples.gamm4"
      ]
    },
    {
      "page": "smooth_terms",
      "title": "List the variables involved in smooths",
      "topics": [
        "smooth_terms",
        "smooth_terms.gamm4",
        "smooth_terms.scam"
      ]
    },
    {
      "page": "smooth_type",
      "title": "Determine the type of smooth and return it in a human readable form",
      "topics": [
        "smooth_type",
        "smooth_type.Bspline.smooth",
        "smooth_type.cpopspline.smooth",
        "smooth_type.cpspline.smooth",
        "smooth_type.cr.smooth",
        "smooth_type.cs.smooth",
        "smooth_type.cv.smooth",
        "smooth_type.cvBy.smooth",
        "smooth_type.cx.smooth",
        "smooth_type.cxBy.smooth",
        "smooth_type.cyclic.smooth",
        "smooth_type.default",
        "smooth_type.dpo.smooth",
        "smooth_type.duchon.spline",
        "smooth_type.fs.interaction",
        "smooth_type.gp.smooth",
        "smooth_type.ipo.smooth",
        "smooth_type.lipl.smooth",
        "smooth_type.lmpi.smooth",
        "smooth_type.mdcv.smooth",
        "smooth_type.mdcvBy.smooth",
        "smooth_type.mdcx.smooth",
        "smooth_type.mdcxBy.smooth",
        "smooth_type.micv.smooth",
        "smooth_type.micvBy.smooth",
        "smooth_type.micx.smooth",
        "smooth_type.micxBy.smooth",
        "smooth_type.mifo.smooth",
        "smooth_type.miso.smooth",
        "smooth_type.mpd.smooth",
        "smooth_type.mpdBy.smooth",
        "smooth_type.mpi.smooth",
        "smooth_type.mpiBy.smooth",
        "smooth_type.mrf.smooth",
        "smooth_type.po.smooth",
        "smooth_type.pspline.smooth",
        "smooth_type.random.effect",
        "smooth_type.sf.film",
        "smooth_type.sf.wiggly",
        "smooth_type.soap.film",
        "smooth_type.sos.smooth",
        "smooth_type.sz.interaction",
        "smooth_type.t2.smooth",
        "smooth_type.tecvcv.smooth",
        "smooth_type.tecxcv.smooth",
        "smooth_type.tecxcx.smooth",
        "smooth_type.tedecv.smooth",
        "smooth_type.tedecx.smooth",
        "smooth_type.tedi.smooth",
        "smooth_type.tedmd.smooth",
        "smooth_type.tedmi.smooth",
        "smooth_type.teid.smooth",
        "smooth_type.temicv.smooth",
        "smooth_type.temicx.smooth",
        "smooth_type.tensor.smooth",
        "smooth_type.tescv.smooth",
        "smooth_type.tescx.smooth",
        "smooth_type.tesmd1.smooth",
        "smooth_type.tesmd2.smooth",
        "smooth_type.tesmi1.smooth",
        "smooth_type.tesmi2.smooth",
        "smooth_type.tismd.smooth",
        "smooth_type.tismi.smooth",
        "smooth_type.tprs.smooth",
        "smooth_type.ts.smooth"
      ]
    },
    {
      "page": "smooths",
      "title": "Names of smooths in a GAM",
      "topics": [
        "smooths",
        "smooths.default",
        "smooths.gamlss",
        "smooths.gamm",
        "smooths.gamm4",
        "smooths.gjrm"
      ]
    },
    {
      "page": "spline_values",
      "title": "Evaluate a spline at provided covariate values",
      "topics": [
        "spline_values"
      ]
    },
    {
      "page": "surrogate_residuals",
      "title": "Surrogate residuals for categorical GAMs",
      "topics": [
        "surrogate_residuals",
        "surrogate_residuals.default",
        "surrogate_residuals.gam"
      ]
    },
    {
      "page": "term_names",
      "title": "Extract names of all variables needed to fit a GAM or a smooth",
      "topics": [
        "term_names",
        "term_names.gam",
        "term_names.gamm",
        "term_names.gamm4",
        "term_names.mgcv.smooth",
        "term_names.scam"
      ]
    },
    {
      "page": "term_variables",
      "title": "Names of variables involved in a specified model term",
      "topics": [
        "term_variables",
        "term_variables.bam",
        "term_variables.gam",
        "term_variables.gamm4",
        "term_variables.scam",
        "term_variables.terms"
      ]
    },
    {
      "page": "theta",
      "title": "General extractor for additional parameters in mgcv models",
      "topics": [
        "theta",
        "theta.family",
        "theta.gam",
        "theta.gamm4"
      ]
    },
    {
      "page": "tidy_basis",
      "title": "A tidy basis representation of a smooth object",
      "topics": [
        "tidy_basis"
      ]
    },
    {
      "page": "to_na",
      "title": "Sets the elements of vector to 'NA'",
      "topics": [
        "to_na"
      ]
    },
    {
      "page": "too_far",
      "title": "Exclude values that lie too far from the support of data",
      "topics": [
        "too_far"
      ]
    },
    {
      "page": "too_far_to_na",
      "title": "Set rows of data to 'NA' if the lie too far from a reference set of values",
      "topics": [
        "too_far_to_na"
      ]
    },
    {
      "page": "transform_fun",
      "title": "Transform estimated values and confidence intervals by applying a function",
      "topics": [
        "transform_fun",
        "transform_fun.evaluated_parametric_term",
        "transform_fun.mgcv_smooth",
        "transform_fun.parametric_effects",
        "transform_fun.smooth_estimates",
        "transform_fun.smooth_samples",
        "transform_fun.tbl_df"
      ]
    },
    {
      "page": "typical_values",
      "title": "Typical values of model covariates",
      "topics": [
        "typical_values",
        "typical_values.data.frame",
        "typical_values.gam",
        "typical_values.gamm4"
      ]
    },
    {
      "page": "user_draws",
      "title": "Handle user-supplied posterior draws",
      "topics": [
        "user_draws",
        "user_draws.gam",
        "user_draws.gamm4",
        "user_draws.scam"
      ]
    },
    {
      "page": "variance_comp",
      "title": "Variance components and fitted term variances for GAMs",
      "topics": [
        "variance_comp",
        "variance_comp.gam",
        "variance_comp.gamm",
        "variance_comp.gamm4",
        "variance_comp.scam"
      ]
    },
    {
      "page": "vars_from_label",
      "title": "Returns names of variables from a smooth label",
      "topics": [
        "vars_from_label"
      ]
    },
    {
      "page": "which_smooths",
      "title": "Identify a smooth term by its label",
      "topics": [
        "which_smooths",
        "which_smooths.bam",
        "which_smooths.default",
        "which_smooths.gam",
        "which_smooths.gamm",
        "which_smooths.gamm4",
        "which_smooths.scam"
      ]
    },
    {
      "page": "worm_plot",
      "title": "Worm plot of model residuals",
      "topics": [
        "worm_plot",
        "worm_plot.gam",
        "worm_plot.gamlss",
        "worm_plot.gamm",
        "worm_plot.gamm4",
        "worm_plot.gjrm",
        "worm_plot.glm",
        "worm_plot.gratia_diagnostic_proxy",
        "worm_plot.lm",
        "worm_plot.lme",
        "worm_plot.merMod",
        "worm_plot.sdmTMB"
      ]
    },
    {
      "page": "zooplankton",
      "title": "Madison lakes zooplankton data",
      "topics": [
        "zooplankton"
      ]
    }
  ],
  "_pkglogo": "https://github.com/gavinsimpson/gratia/raw/HEAD/man/figures/README-draw-gam-figure-1.png",
  "_readme": "https://github.com/gavinsimpson/gratia/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mgcv",
    "mvnfast",
    "nlme",
    "patchwork",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "transformed-covariates.Rmd",
      "filename": "transformed-covariates.html",
      "title": "Functions of covariates and evaluation environments",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Raw data and smooth coordinates",
        "Choosing the plotted covariate scale",
        "Local functions",
        "Which derivative?",
        "Choosing a finite-difference step"
      ],
      "created": "2026-09-21 07:24:02",
      "modified": "2026-10-24 06:43:32",
      "commits": 6
    },
    {
      "source": "gratia.Rmd",
      "filename": "gratia.html",
      "title": "Getting started with gratia",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Plotting",
        "Model diagnostics",
        "Want to learn more?",
        "References"
      ],
      "created": "2022-02-06 16:41:15",
      "modified": "2026-10-24 06:43:32",
      "commits": 17
    },
    {
      "source": "sampling-migration.Rmd",
      "filename": "sampling-migration.html",
      "title": "Migrating posterior sampling calls",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Draw counts and evaluation points",
        "Multiple chains and parallel work",
        "Reusing coefficient draws",
        "Which response sampling function to use",
        "Likelihoods and external diagnostic wrappers",
        "Location-scale-shape models",
        "Grouped response families",
        "Censoring and survival responses",
        "Distribution parameters and expected responses",
        "Location, rate and expectation"
      ],
      "created": "2026-10-16 05:57:55",
      "modified": "2026-10-24 06:43:32",
      "commits": 3
    }
  ],
  "_score": 13.52616753487602,
  "_indexed": true,
  "_nocasepkg": "gratia",
  "_universes": [
    "gavinsimpson"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:18:58.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/25dac6e894dd75f96926bb06986a6975e5719069bc556d47280be903215c4aa3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:19:05.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/78c49447f7b62452b00168e076ed1a5274563348c4b31c1b0b39f13e248c15b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:18:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/a7123fef8dbe6bcb3f88d45415e53c66daa344c8fb11e9b3f2ffb50b3b4892de",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:19:01.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/7602385dd583863b40a0b333fd379d6b16295243e46bf4f8bcf2b51e81f2aefe",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:18:33.000Z",
      "arch": "aarch64",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/fa17ad15f3d0d77acc8b671b81083253fbbd9471cce0ac1da73480c7e0efa97c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:20:33.000Z",
      "arch": "x86_64",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/fe97c722fdf3739e7e4208ac0144357a3dc64a1926a133555c2afebac5a42170",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:18:30.000Z",
      "arch": "aarch64",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/07e6e0208dcac4cc2c1efae054aafa40de4c223d7b49e1cb57e5a4a40990eb67",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:20:57.000Z",
      "arch": "x86_64",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/1f7ec49287d9dbf25791fac4176451c71728952ab0166ac1aa7aeb1e8c116d87",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:18:42.000Z",
      "arch": "emscripten",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/ba29f7fb78ab6f1f820ce56c100d9985d6df2243caaefe6aa886d28708688637",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:19:37.000Z",
      "arch": "aarch64",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/9295de20bf43cde8322d66102f2ee300d5e6f392c871d73207d3eee668eeab2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:19:20.000Z",
      "arch": "x86_64",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/ad194992ab086782823ced48625eb4c1da35d6f1cf41c2c121cf868b8924fd92",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:18:19.000Z",
      "arch": "x86_64",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/6f8a6975620fc6af1339b8ebc23186d74e694961cc4e4831dc201064dd130690",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:19:50.000Z",
      "arch": "aarch64",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/21178dc422347414eb87c5d44227ce172c8cfb44e6da428e61ecdc53ee455e07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.11.2-73",
      "date": "2026-11-03T19:17:52.000Z",
      "arch": "x86_64",
      "commit": "dc825624407e79a6e2fffee10f94409b206a28bc",
      "fileid": "https://r2.ropensci.org/aebf0475fbbaf5ca3e407fde4a81b8369dda2633def8395971b28dfe3cc6c223",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/41700178489"
    }
  ]
}