Graceful 'ggplot'-Based Graphics and Other Functions for GAMs Fitted Using 'mgcv'


[Up] [Top]

Documentation for package ‘gratia’ version 0.12.1

Help Pages

A B C D E F G H I L M N O P Q R S T U V W Z

-- A --

add_confint Add a confidence interval to an existing object
add_confint.default Add a confidence interval to an existing object
add_confint.parametric_effects Add a confidence interval to an existing object
add_confint.smooth_estimates Add a confidence interval to an existing object
add_constant Add a constant to estimated values
add_constant.evaluated_parametric_term Add a constant to estimated values
add_constant.mgcv_smooth Add a constant to estimated values
add_constant.parametric_effects Add a constant to estimated values
add_constant.smooth_estimates Add a constant to estimated values
add_constant.smooth_samples Add a constant to estimated values
add_constant.tbl_df Add a constant to estimated values
add_fitted Add fitted values from a model to a data frame
add_fitted.gam Add fitted values from a GAM to a data frame
add_fitted.gamm4 Add fitted values from a model to a data frame
add_fitted.scam Add fitted values from a model to a data frame
add_fitted_samples Add posterior draws from a model to a data object
add_partial_residuals Add partial residuals
add_partial_residuals.gam Add partial residuals
add_partial_residuals.gamm4 Add partial residuals
add_partial_residuals.scam Add partial residuals
add_posterior_samples Add posterior draws from a model to a data object
add_predicted_samples Add posterior draws from a model to a data object
add_residuals Add residuals from a model to a data frame
add_residuals.gam Add residuals from a GAM to a data frame
add_residuals.gamm4 Add residuals from a model to a data frame
add_residuals.scam Add residuals from a model to a data frame
add_sizer Add indicators of significant change after SiZeR
add_sizer.derivatives Add indicators of significant change after SiZeR
add_sizer.smooth_estimates Add indicators of significant change after SiZeR
add_smooth_samples Add posterior draws from a model to a data object
ale Accumulated local effects of a model covariate
ale.bam Accumulated local effects of a model covariate
ale.default Accumulated local effects of a model covariate
ale.gam Accumulated local effects of a model covariate
ale.scam Accumulated local effects of a model covariate
all_levels Create a sequence of evenly-spaced values
appraise Model diagnostic plots
appraise.default Model diagnostic plots
appraise.gam Model diagnostic plots
appraise.gamlss Model diagnostic plots
appraise.gamm Model diagnostic plots
appraise.gamm4 Model diagnostic plots
appraise.gjrm Model diagnostic plots
appraise.glmmTMB Effects and diagnostics for glmmTMB models
appraise.gratia_diagnostic_proxy Model diagnostic plots
appraise.lm Model diagnostic plots
appraise.lme Model diagnostic plots
appraise.merMod Model diagnostic plots
appraise.sdmTMB Model diagnostic plots
assemble Prepare plots via 'ggplot2' and assembles them as a list
assemble.gam Plot smooth and parametric terms from a fitted GAM
assemble.gamlss Plot smooths of models estimated by GJRM
assemble.gamm Plot smooth and parametric terms from a fitted GAM
assemble.gamm4 Prepare plots via 'ggplot2' and assembles them as a list
assemble.gjrm Plot smooths of models estimated by GJRM
assemble.glmmTMB Effects and diagnostics for glmmTMB models
assemble.scam Plot smooth and parametric terms from a fitted GAM
assemble.sdmTMB Formula effects for sdmTMB models
as_mcmc_draws Convert posterior samples for MCMC diagnostics

-- B --

basis Basis expansions for smooths
basis.default Basis expansions for smooths
basis.gam Basis expansions for smooths
basis.gamm Basis expansions for smooths
basis.gamm4 Basis expansions for smooths
basis.scam Basis expansions for smooths
basis_size Extract basis dimension of a smooth
basis_size.gam Extract basis dimension of a smooth
basis_size.gamm Extract basis dimension of a smooth
basis_size.gamm4 Extract basis dimension of a smooth
basis_size.mgcv.smooth Extract basis dimension of a smooth
basis_size.scam Extract basis dimension of a smooth
bird_move Simulated bird migration data
boundary Extract the boundary of a soap film smooth
boundary.gam Extract the boundary of a soap film smooth
boundary.gamm4 Extract the boundary of a soap film smooth
boundary.soap.film Extract the boundary of a soap film smooth
by_level Tests for by variable smooths
by_variable Tests for by variable smooths

-- C --

check_is_mgcv_smooth Check if objects are smooths or are a particular type of smooth
check_user_select_smooths Select smooths based on user's choices
coef.scam Extract coefficients from a fitted 'scam' model.
compare_smooths Compare smooths across models
concrvity Concurvity of an estimated GAM
conditional_differences Conditional differences of fitted values from a GAM
conditional_differences.gam Conditional differences of fitted values from a GAM
conditional_differences.gamm4 Conditional differences of fitted values from a GAM
conditional_differences.scam Conditional differences of fitted values from a GAM
conditional_moments Conditional moments of a GAM response distribution
conditional_moments.gam Conditional moments of a GAM response distribution
conditional_values Conditional predictions from a GAM
conditional_values.gam Conditional predictions from a GAM
conditional_values.gamm4 Conditional predictions from a GAM
conditional_values.scam Conditional predictions from a GAM
confint.fderiv Point-wise and simultaneous confidence intervals for derivatives of smooths
confint.gam Point-wise and simultaneous confidence intervals for smooths
confint.gamm Point-wise and simultaneous confidence intervals for smooths
confint.gamm4 Point-wise and simultaneous confidence intervals for smooths
confint.scam Point-wise and simultaneous confidence intervals for smooths

-- D --

data_combos All combinations of factor levels plus typical values of continuous variables
data_combos.gam All combinations of factor levels plus typical values of continuous variables
data_combos.gamm4 All combinations of factor levels plus typical values of continuous variables
data_sim Simulate example data for fitting GAMs
data_sim_families Generating responses with mgcv family objects
data_sim_shapes Reference functions for shape-constrained GAMs
data_slice Prepare a data slice through model covariates
data_slice.data.frame Prepare a data slice through model covariates
data_slice.default Prepare a data slice through model covariates
data_slice.gam Prepare a data slice through model covariates
data_slice.gamm Prepare a data slice through model covariates
data_slice.gamm4 Prepare a data slice through model covariates
data_slice.scam Prepare a data slice through model covariates
derivatives Derivatives of estimated smooths via finite differences
derivatives.default Derivatives of estimated smooths via finite differences
derivatives.gam Derivatives of estimated smooths via finite differences
derivatives.gamm Derivatives of estimated smooths via finite differences
derivatives.gamm4 Derivatives of estimated smooths via finite differences
derivatives.scam Derivatives of estimated smooths via finite differences
derivative_samples Posterior expectations of derivatives from an estimated model
derivative_samples.default Posterior expectations of derivatives from an estimated model
derivative_samples.gam Posterior expectations of derivatives from an estimated model
derivative_samples.gamm Posterior expectations of derivatives from an estimated model
derivative_samples.gamm4 Posterior expectations of derivatives from an estimated model
derivative_samples.scam Posterior expectations of derivatives from an estimated model
dharma_residuals Simulation-based PIT residuals
diagnostic_support Model diagnostic support and conventions
difference_smooths Differences of factor smooth interactions
difference_smooths.gam Differences of factor smooth interactions
difference_smooths.scam Differences of factor smooth interactions
dispersion Dispersion parameter for fitted model
dispersion.gam Dispersion parameter for fitted model
dispersion.gamm4 Dispersion parameter for fitted model
dispersion.glm Dispersion parameter for fitted model
dispersion.scam Dispersion parameter for fitted model
draw Generic plotting via 'ggplot2'
draw.ale Plot accumulated local effects
draw.basis Plot basis functions
draw.compare_smooths Plot comparisons of smooths
draw.conditional_differences Plot conditional differences
draw.conditional_moments Draw conditional response moments
draw.conditional_values Plot conditional predictions
draw.derivatives Plot derivatives of smooths
draw.difference_smooth Plot differences of smooths
draw.evaluated_parametric_term Plot estimated parametric effects
draw.gam Plot smooth and parametric terms from a fitted GAM
draw.gamlss Plot smooths of models estimated by GJRM
draw.gamm Plot smooth and parametric terms from a fitted GAM
draw.gjrm Plot smooths of models estimated by GJRM
draw.glmmTMB Effects and diagnostics for glmmTMB models
draw.mgcv_smooth Plot basis functions
draw.overall_concurvity Plot concurvity measures
draw.pairwise_concurvity Plot concurvity measures
draw.parametric_effects Plot estimated effects for model parametric terms
draw.partial_derivatives Plot derivatives of smooths
draw.penalty_df Display penalty matrices of smooths using 'ggplot2::ggplot()'
draw.rootogram Draw a rootogram
draw.sampling_diagnostics Plot coefficient-chain diagnostics
draw.scam Plot smooth and parametric terms from a fitted GAM
draw.scasm Plot smooth and parametric terms from a fitted GAM
draw.sdmTMB Formula effects for sdmTMB models
draw.smooth_estimates Plot the result of a call to 'smooth_estimates()'
draw.smooth_samples Plot posterior smooths
draw.variance_comp Plot variance components and proportions of term variance
draw_label_control Control label layout in gratia plots

-- E --

edf Effective degrees of freedom for smooths and GAMs
edf.gam Effective degrees of freedom for smooths and GAMs
edf.gamm4 Effective degrees of freedom for smooths and GAMs
edf.scam Effective degrees of freedom for smooths and GAMs
evaluate_parametric_term Evaluate parametric model terms
evaluate_parametric_term.gam Evaluate parametric model terms
evaluate_parametric_term.gamm4 Evaluate parametric model terms
evaluate_smooth Evaluate a smooth
eval_smooth S3 methods to evaluate individual smooths
eval_smooth.fs.interaction S3 methods to evaluate individual smooths
eval_smooth.mgcv.smooth S3 methods to evaluate individual smooths
eval_smooth.mrf.smooth S3 methods to evaluate individual smooths
eval_smooth.random.effect S3 methods to evaluate individual smooths
eval_smooth.scam_smooth S3 methods to evaluate individual smooths
eval_smooth.soap.film S3 methods to evaluate individual smooths
eval_smooth.sz.interaction S3 methods to evaluate individual smooths
eval_smooth.t2.smooth S3 methods to evaluate individual smooths
eval_smooth.tensor.smooth S3 methods to evaluate individual smooths
evenly Create a sequence of evenly-spaced values
extract_link Extract link and inverse link functions from models
extract_link.family Extract link and inverse link functions from models
extract_link.general.family Extract link and inverse link functions from models

-- F --

factor_combos All combinations of factor levels
factor_combos.gam All combinations of factor levels
factor_combos.gamm4 All combinations of factor levels
family.bam Extract family objects from models
family.gam Extract family objects from models
family.gamm Extract family objects from models
family.gamm4 Extract family objects from models
family_diagnostics Extend diagnostics for an mgcv-compatible family
family_name Name of family used to fit model
family_parameters Describe a model family's distribution parameters
family_type Extracts the type of family in a consistent way
family_type.default Extracts the type of family in a consistent way
family_type.family Extracts the type of family in a consistent way
fitted_moments Estimate moments of the conditional response distribution
fitted_moments.gam Estimate moments of the conditional response distribution
fitted_samples Draw fitted values from the posterior distribution
fitted_samples.gam Draw fitted values from the posterior distribution
fitted_samples.gamm4 Draw fitted values from the posterior distribution
fitted_samples.scam Draw fitted values from the posterior distribution
fitted_values Generate fitted values from a estimated GAM
fitted_values.gam Generate fitted values from a estimated GAM
fitted_values.gamm Generate fitted values from a estimated GAM
fitted_values.gamm4 Generate fitted values from a estimated GAM
fitted_values.scam Generate fitted values from a estimated GAM
fixed_effects Extract fixed effects estimates from a fitted model
fixed_effects.default Extract fixed effects estimates from a fitted model
fixed_effects.gam Extract fixed effects estimates from a fitted model
fixed_effects.gamm Extract fixed effects estimates from a fitted model
fixed_effects.gamm4 Extract fixed effects estimates from a fitted model
fixed_effects.glm Extract fixed effects estimates from a fitted model
fixed_effects.lm Extract fixed effects estimates from a fitted model
fixed_effects.scam Extract fixed effects estimates from a fitted model
fix_offset Fix the names of a data frame containing an offset variable.

-- G --

gamm4_support Support for models fitted by 'gamm4::gamm4()'
gaussian_draws Posterior samples using a Gaussian approximation
gaussian_draws.gam Posterior samples using a Gaussian approximation
gaussian_draws.gamm4 Posterior samples using a Gaussian approximation
gaussian_draws.scam Posterior samples using a Gaussian approximation
generate_draws Low-level Functions to generate draws from the posterior distribution of model coefficients
generate_draws.gam Low-level Functions to generate draws from the posterior distribution of model coefficients
generate_draws.gamm4 Low-level Functions to generate draws from the posterior distribution of model coefficients
generate_draws.scam Low-level Functions to generate draws from the posterior distribution of model coefficients
get_by_smooth Extract an factor-by smooth by name
get_smooth Extract an mgcv smooth by name
get_smooths_by_id Extract an mgcv smooth given its position in the model object
get_smooths_by_id.gam Extract an mgcv smooth given its position in the model object
get_smooths_by_id.gamm Extract an mgcv smooth given its position in the model object
get_smooths_by_id.gamm4 Extract an mgcv smooth given its position in the model object
get_smooths_by_id.glmmTMB Effects and diagnostics for glmmTMB models
get_smooths_by_id.scam Extract an mgcv smooth given its position in the model object
get_smooths_by_id.sdmTMB Formula effects for sdmTMB models
get_vcov Extract the covariance matrix of the model parameters or a subset of these for a particular model term
get_vcov.scam Extract the covariance matrix of the model parameters or a subset of these for a particular model term
glmmTMB-methods Effects and diagnostics for glmmTMB models
gratia_palette Discrete palettes for gratia plots
gratia_theme_get Native themes for gratia plots
gratia_theme_set Native themes for gratia plots
gratia_theme_update Native themes for gratia plots
gss_vocab Data from the General Social Survey (GSS) from the National Opinion Research Center of the University of Chicago
gw_f0 Gu and Wahba test functions
gw_f1 Gu and Wahba test functions
gw_f2 Gu and Wahba test functions
gw_f3 Gu and Wahba test functions
gw_functions Gu and Wahba test functions

-- H --

has_theta Are additional parameters available for a GAM?

-- I --

inv_link Extract link and inverse link functions from models
inv_link.bam Extract link and inverse link functions from models
inv_link.family Extract link and inverse link functions from models
inv_link.gam Extract link and inverse link functions from models
inv_link.gamm Extract link and inverse link functions from models
inv_link.gamm4 Extract link and inverse link functions from models
inv_link.glm Extract link and inverse link functions from models
in_shape_set Intersect a band with linear restrictions on coefficients
is_by_smooth Tests for by variable smooths
is_continuous_by_smooth Tests for by variable smooths
is_factor_by_smooth Tests for by variable smooths
is_factor_term Is a model term a factor (categorical)?
is_factor_term.bam Is a model term a factor (categorical)?
is_factor_term.gam Is a model term a factor (categorical)?
is_factor_term.gamm Is a model term a factor (categorical)?
is_factor_term.gamm4 Is a model term a factor (categorical)?
is_factor_term.list Is a model term a factor (categorical)?
is_factor_term.terms Is a model term a factor (categorical)?
is_mgcv_family Is an object one of mgcv's family objects?
is_mgcv_smooth Check if objects are smooths or are a particular type of smooth
is_mrf_smooth Check if objects are smooths or are a particular type of smooth
is_multivariate_y Is a model multivariate?
is_offset Is a model term an offset?

-- L --

level Return the reference or specific level of a factor
link Extract link and inverse link functions from models
link.bam Extract link and inverse link functions from models
link.family Extract link and inverse link functions from models
link.gam Extract link and inverse link functions from models
link.gamm Extract link and inverse link functions from models
link.gamm4 Extract link and inverse link functions from models
link.glm Extract link and inverse link functions from models
load_mgcv Load mgcv quietly
log_lik Posterior draws of pointwise log likelihoods
log_lik.bam Posterior draws of pointwise log likelihoods
log_lik.gam Posterior draws of pointwise log likelihoods
log_lik.scam Posterior draws of pointwise log likelihoods
loo.bam Leave-one-out validation and WAIC for GAMs
loo.gam Leave-one-out validation and WAIC for GAMs
loo.scam Leave-one-out validation and WAIC for GAMs
lp_matrix Return the linear prediction matrix of a fitted GAM
lp_matrix.gam Return the linear prediction matrix of a fitted GAM
lp_matrix.gamm4 Return the linear prediction matrix of a fitted GAM
lp_matrix.scam Return the linear prediction matrix of a fitted GAM

-- M --

mh_draws Posterior samples using Metropolis Hastings
mh_draws.gam Posterior samples using Metropolis Hastings
mh_draws.gamm4 Posterior samples using Metropolis Hastings
mh_draws.scam Posterior samples using Metropolis Hastings
model.matrix.scam Return the linear prediction matrix of a fitted GAM
model_concurvity Concurvity of an estimated GAM
model_concurvity.gam Concurvity of an estimated GAM
model_concurvity.gamm4 Concurvity of an estimated GAM
model_concurvity.scam Concurvity of an estimated GAM
model_constant Extract the model constant term
model_constant.gam Extract the model constant term
model_constant.gamlss Extract the model constant term
model_constant.gamm4 Extract the model constant term
model_constant.glm Extract the model constant term
model_constant.scam Extract the model constant term
model_edf Effective degrees of freedom for smooths and GAMs
model_terms Find the names of model terms
model_terms.gam Find the names of model terms
model_terms.gamm Find the names of model terms
model_terms.gamm4 Find the names of model terms
model_terms.lm Find the names of model terms
model_terms.scam Find the names of model terms
model_vars List the variables involved in a model fitted with a formula
model_vars.bam List the variables involved in a model fitted with a formula
model_vars.default List the variables involved in a model fitted with a formula
model_vars.gam List the variables involved in a model fitted with a formula
model_vars.gamm List the variables involved in a model fitted with a formula
model_vars.gamm4 List the variables involved in a model fitted with a formula
model_vars.scam List the variables involved in a model fitted with a formula

-- N --

nb_theta Negative binomial parameter theta
nb_theta.gam Negative binomial parameter theta
nb_theta.gamm4 Negative binomial parameter theta
null_deviance Extract the null deviance of a fitted model
null_deviance.default Extract the null deviance of a fitted model
n_eta The Number of linear predictors in model
n_eta.gam The Number of linear predictors in model
n_eta.gamm4 The Number of linear predictors in model
n_eta.scam The Number of linear predictors in model
n_smooths How many smooths in a fitted model
n_smooths.bam How many smooths in a fitted model
n_smooths.default How many smooths in a fitted model
n_smooths.gam How many smooths in a fitted model
n_smooths.gamm How many smooths in a fitted model
n_smooths.gamm4 How many smooths in a fitted model
n_smooths.gjrm How many smooths in a fitted model
n_smooths.glmmTMB How many smooths in a fitted model
n_smooths.sdmTMB Formula effects for sdmTMB models

-- O --

observed_fitted_plot Plot of fitted against observed response values
overview Provides an overview of a model and the terms in that model
overview.gam Provides an overview of a model and the terms in that model
overview.gamm4 Provides an overview of a model and the terms in that model
overview.scam Provides an overview of a model and the terms in that model

-- P --

parametric_effects Estimated values for parametric model terms
parametric_effects.gam Estimated values for parametric model terms
parametric_effects.gamm4 Estimated values for parametric model terms
parametric_effects.glmmTMB Effects and diagnostics for glmmTMB models
parametric_effects.scam Estimated values for parametric model terms
parametric_effects.sdmTMB Formula effects for sdmTMB models
parametric_terms Names of any parametric terms in a GAM
parametric_terms.default Names of any parametric terms in a GAM
parametric_terms.gam Names of any parametric terms in a GAM
parametric_terms.gamm4 Names of any parametric terms in a GAM
parametric_terms.glmmTMB Effects and diagnostics for glmmTMB models
parametric_terms.scam Names of any parametric terms in a GAM
parametric_terms.sdmTMB Formula effects for sdmTMB models
partial_derivatives Partial derivatives of estimated multivariate smooths via finite differences
partial_derivatives.default Partial derivatives of estimated multivariate smooths via finite differences
partial_derivatives.gam Partial derivatives of estimated multivariate smooths via finite differences
partial_derivatives.gamm Partial derivatives of estimated multivariate smooths via finite differences
partial_derivatives.gamm4 Partial derivatives of estimated multivariate smooths via finite differences
partial_derivatives.scam Partial derivatives of estimated multivariate smooths via finite differences
partial_residuals Partial residuals
partial_residuals.gam Partial residuals
partial_residuals.scam Partial residuals
penalty Extract and tidy penalty matrices
penalty.default Extract and tidy penalty matrices
penalty.gam Extract and tidy penalty matrices
penalty.gamm4 Extract and tidy penalty matrices
penalty.mgcv.smooth Extract and tidy penalty matrices
penalty.re.smooth.spec Extract and tidy penalty matrices
penalty.scam Extract and tidy penalty matrices
penalty.t2.smooth Extract and tidy penalty matrices
penalty.tensor.smooth Extract and tidy penalty matrices
posterior_predictive_plot Posterior predictive check of the response distribution
posterior_samples Draw samples from the posterior distribution of an estimated model
posterior_samples.gam Draw samples from the posterior distribution of an estimated model
posterior_samples.gamlss Draw samples from the posterior distribution of an estimated model
posterior_samples.gamm Draw samples from the posterior distribution of an estimated model
posterior_samples.gamm4 Draw samples from the posterior distribution of an estimated model
posterior_samples.glm Draw samples from the posterior distribution of an estimated model
posterior_samples.glmmTMB Draw samples from the posterior distribution of an estimated model
posterior_samples.lm Draw samples from the posterior distribution of an estimated model
posterior_samples.lme Draw samples from the posterior distribution of an estimated model
posterior_samples.merMod Draw samples from the posterior distribution of an estimated model
posterior_samples.scam Draw samples from the posterior distribution of an estimated model
posterior_samples.sdmTMB Draw samples from the posterior distribution of an estimated model
post_draws Low-level Functions to generate draws from the posterior distribution of model coefficients
post_draws.default Low-level Functions to generate draws from the posterior distribution of model coefficients
post_draws.gamm4 Low-level Functions to generate draws from the posterior distribution of model coefficients
pp_check Posterior checks with bayesplot
pp_check.bam Posterior checks with bayesplot
pp_check.gam Posterior checks with bayesplot
pp_check.gamm Posterior checks with bayesplot
pp_check.gamm4 Posterior checks with bayesplot
pp_check.scam Posterior checks with bayesplot
predicted_samples Draw new response values from the conditional distribution of the response
predicted_samples.default Draw new response values from the conditional distribution of the response
predicted_samples.gam Draw new response values from the conditional distribution of the response
predicted_samples.gamm4 Draw new response values from the conditional distribution of the response
predicted_samples.scam Draw new response values from the conditional distribution of the response
print.sampling_diagnostics Extract coefficient-sampler diagnostics

-- Q --

qq_plot Quantile-quantile plot of model residuals
qq_plot.default Quantile-quantile plot of model residuals
qq_plot.gam Quantile-quantile plot of model residuals
qq_plot.gamlss Quantile-quantile plot of model residuals
qq_plot.gamm Quantile-quantile plot of model residuals
qq_plot.gamm4 Quantile-quantile plot of model residuals
qq_plot.gjrm Quantile-quantile plot of model residuals
qq_plot.glm Quantile-quantile plot of model residuals
qq_plot.glmmTMB Effects and diagnostics for glmmTMB models
qq_plot.gratia_diagnostic_proxy Quantile-quantile plot of model residuals
qq_plot.lm Quantile-quantile plot of model residuals
qq_plot.lme Quantile-quantile plot of model residuals
qq_plot.merMod Quantile-quantile plot of model residuals
qq_plot.sdmTMB Quantile-quantile plot of model residuals
quantile_residuals PIT and randomised quantile residuals
quantile_residuals.default PIT and randomised quantile residuals
quantile_residuals.gam PIT and randomised quantile residuals
quantile_residuals.gamlss PIT and randomised quantile residuals
quantile_residuals.gamm PIT and randomised quantile residuals
quantile_residuals.gamm4 PIT and randomised quantile residuals
quantile_residuals.gjrm PIT and randomised quantile residuals
quantile_residuals.glm PIT and randomised quantile residuals
quantile_residuals.glmmTMB PIT and randomised quantile residuals
quantile_residuals.gratia_diagnostic_proxy PIT and randomised quantile residuals
quantile_residuals.gratia_glmmtmb_diagnostic PIT and randomised quantile residuals
quantile_residuals.lm PIT and randomised quantile residuals
quantile_residuals.lme PIT and randomised quantile residuals
quantile_residuals.merMod PIT and randomised quantile residuals
quantile_residuals.sdmTMB PIT and randomised quantile residuals

-- R --

random_effect_samples Draw new random effects from an estimated GAM
ref_level Return the reference or specific level of a factor
ref_sims Reference simulation data
rep_first_factor_value Repeat the first level of a factor n times
residuals_covariate_plot Plot residuals against covariates
residuals_hist_plot Histogram of model residuals
residuals_linpred_plot Plot of residuals versus linear predictor values
residual_correlation Ordered residual correlation diagnostics
residual_correlation_plot Ordered residual correlation diagnostics
response_derivatives Derivatives on the response scale from an estimated GAM
response_derivatives.default Derivatives on the response scale from an estimated GAM
response_derivatives.gam Derivatives on the response scale from an estimated GAM
response_derivatives.gamm Derivatives on the response scale from an estimated GAM
response_derivatives.gamm4 Derivatives on the response scale from an estimated GAM
response_derivatives.scam Derivatives on the response scale from an estimated GAM
rootogram Rootograms to assess goodness of model fit
rootogram.gam Rootograms to assess goodness of model fit
rootogram.gamm4 Rootograms to assess goodness of model fit
rootogram.scam Rootograms to assess goodness of model fit
rtw Simulator for tweedie LSS models

-- S --

sampling_diagnostics Extract coefficient-sampler diagnostics
scalable_observed_fitted_plot Scalable model diagnostic plots
scalable_qq_plot Scalable model diagnostic plots
scalable_residuals_covariate_plot Plot residuals against covariates
scalable_residuals_hist_plot Scalable model diagnostic plots
scalable_residuals_linpred_plot Scalable model diagnostic plots
scalable_worm_plot Scalable model diagnostic plots
scale_fill_partial_effect Default diverging red-blue colour palette for partial effects
sdmTMB-methods Formula effects for sdmTMB models
seq_min_max Create a sequence of evenly-spaced values
seq_min_max_eps Create a sequence of evenly-spaced values adjusted to accommodate a small adjustment
shape_confidence_set Intersect a band with linear restrictions on coefficients
shape_intervals Enforce named shapes on estimates and interval endpoints
shift_values Shift numeric values in a data frame by an amount 'eps'
simulate Simulate responses from a fitted model
simulate.gam Simulate responses from a fitted model
simulate.gamlss Simulate responses from a fitted model
simulate.gamm Simulate responses from a fitted model
simulate.gamm4 Simulate responses from a fitted model
simulate.scam Simulate responses from a fitted model
simultaneous_bands Simultaneous bands on an evaluation grid or a continuous interval
smallAges Lead-210 age-depth measurements for Small Water
smooths Names of smooths in a GAM
smooths.default Names of smooths in a GAM
smooths.gamlss Names of smooths in a GAM
smooths.gamm Names of smooths in a GAM
smooths.gamm4 Names of smooths in a GAM
smooths.gjrm Names of smooths in a GAM
smooths.glmmTMB Effects and diagnostics for glmmTMB models
smooths.sdmTMB Formula effects for sdmTMB models
smooth_coefs Coefficients for a particular smooth
smooth_coefs.bam Coefficients for a particular smooth
smooth_coefs.gam Coefficients for a particular smooth
smooth_coefs.gamm Coefficients for a particular smooth
smooth_coefs.gamm4 Coefficients for a particular smooth
smooth_coefs.glmmTMB Effects and diagnostics for glmmTMB models
smooth_coefs.mgcv.smooth Coefficients for a particular smooth
smooth_coefs.scam Coefficients for a particular smooth
smooth_coefs.sdmTMB Formula effects for sdmTMB models
smooth_coef_indices Indices of the parametric terms for a particular smooth
smooth_data Generate regular data over the covariates of a smooth
smooth_dim Dimension of a smooth
smooth_dim.gam Dimension of a smooth
smooth_dim.gamm Dimension of a smooth
smooth_dim.gamm4 Dimension of a smooth
smooth_dim.mgcv.smooth Dimension of a smooth
smooth_estimates Evaluate smooths at covariate values
smooth_estimates.gam Evaluate smooths at covariate values
smooth_estimates.gamlss Evaluate smooths at covariate values
smooth_estimates.gjrm Evaluate smooths at covariate values
smooth_estimates.glmmTMB Effects and diagnostics for glmmTMB models
smooth_estimates.sdmTMB Formula effects for sdmTMB models
smooth_label Extract the label for a smooth used by 'mgcv'
smooth_label.gam Extract the label for a smooth used by 'mgcv'
smooth_label.gamm4 Extract the label for a smooth used by 'mgcv'
smooth_label.mgcv.smooth Extract the label for a smooth used by 'mgcv'
smooth_samples Posterior draws for individual smooths
smooth_samples.gam Posterior draws for individual smooths
smooth_samples.gamm4 Posterior draws for individual smooths
smooth_terms List the variables involved in smooths
smooth_terms.gamm4 List the variables involved in smooths
smooth_terms.scam List the variables involved in smooths
smooth_type Determine the type of smooth and return it in a human readable form
smooth_type.b.tensor Determine the type of smooth and return it in a human readable form
smooth_type.Bspline.smooth Determine the type of smooth and return it in a human readable form
smooth_type.cpopspline.smooth Determine the type of smooth and return it in a human readable form
smooth_type.cpspline.smooth Determine the type of smooth and return it in a human readable form
smooth_type.cr.smooth Determine the type of smooth and return it in a human readable form
smooth_type.cs.smooth Determine the type of smooth and return it in a human readable form
smooth_type.cv.smooth Determine the type of smooth and return it in a human readable form
smooth_type.cvBy.smooth Determine the type of smooth and return it in a human readable form
smooth_type.cx.smooth Determine the type of smooth and return it in a human readable form
smooth_type.cxBy.smooth Determine the type of smooth and return it in a human readable form
smooth_type.cyclic.smooth Determine the type of smooth and return it in a human readable form
smooth_type.default Determine the type of smooth and return it in a human readable form
smooth_type.dpo.smooth Determine the type of smooth and return it in a human readable form
smooth_type.duchon.spline Determine the type of smooth and return it in a human readable form
smooth_type.fs.interaction Determine the type of smooth and return it in a human readable form
smooth_type.gp.smooth Determine the type of smooth and return it in a human readable form
smooth_type.ipo.smooth Determine the type of smooth and return it in a human readable form
smooth_type.lipl.smooth Determine the type of smooth and return it in a human readable form
smooth_type.lmpi.smooth Determine the type of smooth and return it in a human readable form
smooth_type.mdcv.smooth Determine the type of smooth and return it in a human readable form
smooth_type.mdcvBy.smooth Determine the type of smooth and return it in a human readable form
smooth_type.mdcx.smooth Determine the type of smooth and return it in a human readable form
smooth_type.mdcxBy.smooth Determine the type of smooth and return it in a human readable form
smooth_type.micv.smooth Determine the type of smooth and return it in a human readable form
smooth_type.micvBy.smooth Determine the type of smooth and return it in a human readable form
smooth_type.micx.smooth Determine the type of smooth and return it in a human readable form
smooth_type.micxBy.smooth Determine the type of smooth and return it in a human readable form
smooth_type.mifo.smooth Determine the type of smooth and return it in a human readable form
smooth_type.miso.smooth Determine the type of smooth and return it in a human readable form
smooth_type.mpd.smooth Determine the type of smooth and return it in a human readable form
smooth_type.mpdBy.smooth Determine the type of smooth and return it in a human readable form
smooth_type.mpi.smooth Determine the type of smooth and return it in a human readable form
smooth_type.mpiBy.smooth Determine the type of smooth and return it in a human readable form
smooth_type.mrf.smooth Determine the type of smooth and return it in a human readable form
smooth_type.po.smooth Determine the type of smooth and return it in a human readable form
smooth_type.pspline.smooth Determine the type of smooth and return it in a human readable form
smooth_type.random.effect Determine the type of smooth and return it in a human readable form
smooth_type.sf.film Determine the type of smooth and return it in a human readable form
smooth_type.sf.wiggly Determine the type of smooth and return it in a human readable form
smooth_type.soap.film Determine the type of smooth and return it in a human readable form
smooth_type.sos.smooth Determine the type of smooth and return it in a human readable form
smooth_type.sz.interaction Determine the type of smooth and return it in a human readable form
smooth_type.t2.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tecvcv.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tecxcv.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tecxcx.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tedecv.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tedecx.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tedi.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tedmd.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tedmi.smooth Determine the type of smooth and return it in a human readable form
smooth_type.teid.smooth Determine the type of smooth and return it in a human readable form
smooth_type.temicv.smooth Determine the type of smooth and return it in a human readable form
smooth_type.temicx.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tensor.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tescv.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tescx.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tesmd1.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tesmd2.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tesmi1.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tesmi2.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tismd.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tismi.smooth Determine the type of smooth and return it in a human readable form
smooth_type.tprs.smooth Determine the type of smooth and return it in a human readable form
smooth_type.ts.smooth Determine the type of smooth and return it in a human readable form
spline_values Evaluate a spline at provided covariate values
stop_if_not_mgcv_smooth Check if objects are smooths or are a particular type of smooth
surrogate_residuals Surrogate residuals for categorical GAMs
surrogate_residuals.default Surrogate residuals for categorical GAMs
surrogate_residuals.gam Surrogate residuals for categorical GAMs

-- T --

term_names Extract names of all variables needed to fit a GAM or a smooth
term_names.gam Extract names of all variables needed to fit a GAM or a smooth
term_names.gamm Extract names of all variables needed to fit a GAM or a smooth
term_names.gamm4 Extract names of all variables needed to fit a GAM or a smooth
term_names.mgcv.smooth Extract names of all variables needed to fit a GAM or a smooth
term_names.scam Extract names of all variables needed to fit a GAM or a smooth
term_variables Names of variables involved in a specified model term
term_variables.bam Names of variables involved in a specified model term
term_variables.gam Names of variables involved in a specified model term
term_variables.gamm4 Names of variables involved in a specified model term
term_variables.scam Names of variables involved in a specified model term
term_variables.terms Names of variables involved in a specified model term
theta General extractor for additional parameters in mgcv models
theta.family General extractor for additional parameters in mgcv models
theta.gam General extractor for additional parameters in mgcv models
theta.gamm4 General extractor for additional parameters in mgcv models
tidy_basis A tidy basis representation of a smooth object
too_far Exclude values that lie too far from the support of data
too_far_to_na Set rows of data to 'NA' if the lie too far from a reference set of values
to_na Sets the elements of vector to 'NA'
transform_fun Transform estimated values and confidence intervals by applying a function
transform_fun.evaluated_parametric_term Transform estimated values and confidence intervals by applying a function
transform_fun.mgcv_smooth Transform estimated values and confidence intervals by applying a function
transform_fun.parametric_effects Transform estimated values and confidence intervals by applying a function
transform_fun.smooth_estimates Transform estimated values and confidence intervals by applying a function
transform_fun.smooth_samples Transform estimated values and confidence intervals by applying a function
transform_fun.tbl_df Transform estimated values and confidence intervals by applying a function
typical_values Typical values of model covariates
typical_values.data.frame Typical values of model covariates
typical_values.gam Typical values of model covariates
typical_values.gamm4 Typical values of model covariates

-- U --

user_draws Handle user-supplied posterior draws
user_draws.gam Handle user-supplied posterior draws
user_draws.gamm4 Handle user-supplied posterior draws
user_draws.scam Handle user-supplied posterior draws

-- V --

variance_comp Variance components and fitted term variances for GAMs
variance_comp.gam Variance components and fitted term variances for GAMs
variance_comp.gamm Variance components and fitted term variances for GAMs
variance_comp.gamm4 Variance components and fitted term variances for GAMs
variance_comp.scam Variance components and fitted term variances for GAMs
vars_from_label Returns names of variables from a smooth label

-- W --

waic.bam Leave-one-out validation and WAIC for GAMs
waic.gam Leave-one-out validation and WAIC for GAMs
waic.scam Leave-one-out validation and WAIC for GAMs
which_smooths Identify a smooth term by its label
which_smooths.bam Identify a smooth term by its label
which_smooths.default Identify a smooth term by its label
which_smooths.gam Identify a smooth term by its label
which_smooths.gamm Identify a smooth term by its label
which_smooths.gamm4 Identify a smooth term by its label
which_smooths.scam Identify a smooth term by its label
worm_plot Worm plot of model residuals
worm_plot.gam Worm plot of model residuals
worm_plot.gamlss Worm plot of model residuals
worm_plot.gamm Worm plot of model residuals
worm_plot.gamm4 Worm plot of model residuals
worm_plot.gjrm Worm plot of model residuals
worm_plot.glm Worm plot of model residuals
worm_plot.glmmTMB Effects and diagnostics for glmmTMB models
worm_plot.gratia_diagnostic_proxy Worm plot of model residuals
worm_plot.lm Worm plot of model residuals
worm_plot.lme Worm plot of model residuals
worm_plot.merMod Worm plot of model residuals
worm_plot.sdmTMB Worm plot of model residuals

-- Z --

zooplankton Madison lakes zooplankton data