Customizing plots
- Source:vignettes/articles/custom-plotting.Rmd
+ Source: vignettes/articles/custom-plotting.Rmd
custom-plotting.Rmd
Data slices
- Source:vignettes/data-slices.Rmd
+ Source: vignettes/data-slices.Rmd
data-slices.Rmd
Getting started with gratia
- Source:vignettes/gratia.Rmd
+ Source: vignettes/gratia.Rmd
gratia.Rmd
Posterior Simulation
- Source:vignettes/articles/posterior-simulation.Rmd
+ Source: vignettes/articles/posterior-simulation.Rmd
posterior-simulation.Rmd
Authors
Citation
-Source: inst/CITATION
Source: inst/CITATION
Simpson G (????).
gratia: Graceful ggplot-Based Graphics and Other Functions
diff --git a/news/index.html b/news/index.html
index a8b5c6f6..4102aceb 100644
--- a/news/index.html
+++ b/news/index.html
@@ -36,7 +36,7 @@
Add a confidence interval to an existing object
- Source: R/add-methods.R
+ Source: R/add-methods.R
add_confint.Rd
Add a constant to estimated values
- Source: R/add-methods.R
+ Source: R/add-methods.R
add_constant.Rd
Add fitted values from a GAM to a data frame
- Source: R/add-methods.R
+ Source: R/add-methods.R
add_fitted.gam.Rd
Add fitted values from a model to a data frame
- Source: R/add-methods.R
+ Source: R/add-methods.R
add_fitted.Rd
Add posterior draws from a model to a data object
- Source: R/add-methods.R
+ Source: R/add-methods.R
add_fitted_samples.Rd
Add residuals from a GAM to a data frame
- Source: R/add-methods.R
+ Source: R/add-methods.R
add_residuals.gam.Rd
Add residuals from a model to a data frame
- Source: R/add-methods.R
+ Source: R/add-methods.R
add_residuals.Rd
Add indicators of significant change after SiZeR
- Source: R/add-methods.R
+ Source: R/add-methods.R
add_sizer.Rd
Extract the boundary of a soap film smooth
- Source: R/utililties.R
+ Source: R/utililties.R
boundary.Rd
Select smooths based on user's choices
- Source: R/utililties.R
+ Source: R/utililties.R
check_user_select_smooths.Rd
Extract coefficients from a fitted
- Source: scam
model.R/other-scam-methods.R
+ Source: R/other-scam-methods.R
coef.scam.Rd
Compare smooths across models
- Source: R/compare-smooths.R
+ Source: R/compare-smooths.R
compare_smooths.Rd
Conditional predictions from a GAM
- Source: R/conditional-values.R
+ Source: R/conditional-values.R
conditional_values.Rd
Point-wise and simultaneous confidence intervals for derivatives of smooths
- Source: R/confint-methods.R
+ Source: R/confint-methods.R
confint.fderiv.Rd
Point-wise and simultaneous confidence intervals for smooths
- Source: R/confint-methods.R
+ Source: R/confint-methods.R
confint.gam.Rd
All combinations of factor levels plus typical values of continuous variables
- Source: R/data-slice.R
+ Source: R/data-slice.R
data_combos.Rd
Prepare a data slice through model covariates
- Source: R/data-slice.R
+ Source: R/data-slice.R
data_slice.Rd
Generate data over the range of variables used in smooths
- Source: R/datagen-methods.R
+ Source: R/datagen-methods.R
datagen.Rd
Posterior expectations of derivatives from an estimated model
- Source: R/posterior-samples.R
+ Source: R/posterior-samples.R
derivative_samples.Rd
Derivatives of estimated smooths via finite differences
- Source: R/derivatives.R
+ Source: R/derivatives.R
derivatives.Rd
Differences of factor smooth interactions
- Source: R/difference-smooths.R
+ Source: R/difference-smooths.R
difference_smooths.Rd
Dispersion parameter for fitted model
- Source: R/utililties.R
+ Source: R/utililties.R
dispersion.Rd
Plot comparisons of smooths
- Source: R/compare-smooths.R
+ Source: R/compare-smooths.R
draw.compare_smooths.Rd
Plot conditional predictions
- Source: R/conditional-values.R
+ Source: R/conditional-values.R
draw.conditional_values.Rd
Plot derivatives of smooths
- Source: R/draw-methods.R
+ Source: R/draw-methods.R
draw.derivatives.Rd
Plot differences of smooths
- Source: R/draw-methods.R
+ Source: R/draw-methods.R
draw.difference_smooth.Rd
Plot estimated parametric effects
- Source: R/draw-evaluate-smooth.R
+ Source: R/draw-evaluate-smooth.R
draw.evaluated_parametric_term.Rd
Plot smooths of a GAMLSS model estimated by
- Source: GJRM::gamlss
R/gjrm-methods.R
+ Source: R/gjrm-methods.R
draw.gamlss.Rd
Plot concurvity measures
- Source: R/concurvity.R
+ Source: R/concurvity.R
draw.pairwise_concurvity.Rd
Plot estimated effects for model parametric terms
- Source: R/parametric-effects.R
+ Source: R/parametric-effects.R
draw.parametric_effects.Rd
Display penalty matrices of smooths using
- Source: ggplot
R/draw-methods.R
+ Source: R/draw-methods.R
draw.penalty_df.Rd
Plot the result of a call to
- Source: smooth_estimates()
R/smooth-estimates.R
+ Source: R/smooth-estimates.R
draw.smooth_estimates.Rd
Internal function to draw an individual parametric effect
- Source: R/parametric-effects.R
+ Source: R/parametric-effects.R
draw_parametric_effect.Rd
S3 methods to evaluate individual smooths
- Source: R/smooth-estimates.R
+ Source: R/smooth-estimates.R
eval_smooth.Rd
Evaluate parametric model terms
- Source: R/evaluate_smooth.R
+ Source: R/evaluate_smooth.R
evaluate_parametric_term.Rd
All combinations of factor levels
- Source: R/data-slice.R
+ Source: R/data-slice.R
factor_combos.Rd
Extract family objects from models
- Source: R/family-utils.R
+ Source: R/family-utils.R
family.gam.Rd
Name of family used to fit model
- Source: R/family-utils.R
+ Source: R/family-utils.R
family_name.Rd
Extracts the type of family in a consistent way
- Source: R/family-utils.R
+ Source: R/family-utils.R
family_type.Rd
Draw fitted values from the posterior distribution
- Source: R/posterior-samples.R
+ Source: R/posterior-samples.R
fitted_samples.Rd
Generate fitted values from a estimated GAM
- Source: R/fitted_values.R
+ Source: R/fitted_values.R
fitted_values.Rd
Fix the names of a data frame containing an offset variable.
- Source: R/utililties.R
+ Source: R/utililties.R
fix_offset.Rd
Extract fixed effects estimates from a fitted GAM
- Source: R/effects.R
+ Source: R/effects.R
fixef.gam.Rd
Posterior samples using a simple Metropolis Hastings sampler
- Source: R/samplers.R
+ Source: R/samplers.R
gaussian_draws.Rd
Extract an factor-by smooth by name
- Source: R/utililties.R
+ Source: R/utililties.R
get_by_smooth.Rd
Extract an mgcv smooth given its position in the model object
- Source: R/utililties.R
+ Source: R/utililties.R
get_smooths_by_id.Rd
gratia: Graceful 'ggplot'-Based Graphics and Other Functions for GAMs Fitted Using 'mgcv'
- Source: R/gratia-package.R
+ Source: R/gratia-package.R
gratia-package.Rd
Data from the General Social Survey (GSS) from the National Opinion Research Center of the University of Chicago
- Source: R/datasets.R
+ Source: R/datasets.R
gss_vocab.Rd
Are additional parameters available for a GAM?
- Source: R/distribution-helpers.R
+ Source: R/distribution-helpers.R
has_theta.Rd
Tests for by variable smooths
- Source: R/by-variable-utilities.R
+ Source: R/by-variable-utilities.R
is_by_smooth.Rd
Is a model term a factor (categorical)?
- Source: R/utililties.R
+ Source: R/utililties.R
is_factor_term.Rd
Check if objects are smooths or are a particular type of smooth
- Source: R/utililties.R
+ Source: R/utililties.R
is_mgcv_smooth.Rd
Extract link and inverse link functions from models
- Source: R/family-utils.R
+ Source: R/family-utils.R
link.Rd
Exampleslink(mod, parameter = "scale")
#> function (mu)
#> log(1/mu - 0.01)
-#> <environment: 0x5573662599b8>
+#> <environment: 0x56149a6a12b0>
inv_link(mod, parameter = "scale")
#> function (eta)
#> 1/(exp(eta) + 0.01)
-#> <environment: 0x5573662599b8>
+#> <environment: 0x56149a6a12b0>
## Works with `family` objects too
link(shash(), parameter = "skewness")
diff --git a/reference/load_mgcv.html b/reference/load_mgcv.html
index ad74b88c..141228f6 100644
--- a/reference/load_mgcv.html
+++ b/reference/load_mgcv.html
@@ -38,7 +38,7 @@
Return the linear prediction matrix of a fitted GAM
- Source: R/lp-matrix.R
+ Source: R/lp-matrix.R
lp_matrix.Rd
General names of LSS parameters for each GAM family
- Source: R/distributional-models.R
+ Source: R/distributional-models.R
lss_parameters.Rd
Posterior samples using a Gaussian approximation to the posterior distribution
- Source: R/samplers.R
+ Source: R/samplers.R
mh_draws.Rd
Concurvity of an estimated GAM
- Source: R/concurvity.R
+ Source: R/concurvity.R
model_concurvity.Rd
List the variables involved in a model fitted with a formula
- Source: R/utililties.R
+ Source: R/utililties.R
model_vars.Rd
Negative binomial parameter theta
- Source: R/distribution-helpers.R
+ Source: R/distribution-helpers.R
nb_theta.Rd
Partial residuals in nested form
- Source: R/nested-functions.R
+ Source: R/nested-functions.R
nested_partial_residuals.Rd
Values for rug plot in nested form
- Source: R/nested-functions.R
+ Source: R/nested-functions.R
nested_rug_values.Rd
Extract the null deviance of a fitted model
- Source: R/utililties.R
+ Source: R/utililties.R
null_deviance.Rd
Plot of fitted against observed response values
- Source: R/diagnose.R
+ Source: R/diagnose.R
observed_fitted_plot.Rd
Provides an overview of a model and the terms in that model
- Source: R/overview.R
+ Source: R/overview.R
overview.Rd
Estimated values for parametric model terms
- Source: R/parametric-effects.R
+ Source: R/parametric-effects.R
parametric_effects.Rd
Names of any parametric terms in a GAM
- Source: R/utililties.R
+ Source: R/utililties.R
parametric_terms.Rd
Partial derivatives of estimated multivariate smooths via finite differences
- Source: R/derivatives.R
+ Source: R/derivatives.R
partial_derivatives.Rd
Low-level Functions to generate draws from the posterior distribution of model coefficients
- Source: R/samplers.R
+ Source: R/samplers.R
post_draws.Rd
A list of transformation functions named for LSS parameters in a GAMLSS
- Source: R/distributional-models.R
+ Source: R/distributional-models.R
post_link_funs.Rd
Draw samples from the posterior distribution of an estimated model
- Source: R/posterior-samples.R
+ Source: R/posterior-samples.R
posterior_samples.Rd
Draw new response values from the conditional distribution of the response
- Source: R/posterior-samples.R
+ Source: R/posterior-samples.R
predicted_samples.Rd
Return the reference or specific level of a factor
- Source: R/evenly.R
+ Source: R/evenly.R
ref_level.Rd
Reorder random factor smooth terms to place factor last
- Source: R/draw-utilities.R
+ Source: R/draw-utilities.R
reorder_fs_smooth_terms.Rd
Reorder tensor product terms for nicer plotting
- Source: R/draw-utilities.R
+ Source: R/draw-utilities.R
reorder_tensor_smooth_terms.Rd
Repeat the first level of a factor n times
- Source: R/utililties.R
+ Source: R/utililties.R
rep_first_factor_value.Rd
Plot of residuals versus linear predictor values
- Source: R/diagnose.R
+ Source: R/diagnose.R
residuals_linpred_plot.Rd
Derivatives on the response scale from an estimated GAM
- Source: R/derivatives.R
+ Source: R/derivatives.R
response_derivatives.Rd
Rootograms to assess goodness of model fit
- Source: R/rootogram.R
+ Source: R/rootogram.R
rootogram.Rd
Create a sequence of evenly-spaced values adjusted to accommodate a small adjustment
- Source: R/evenly.R
+ Source: R/evenly.R
seq_min_max_eps.Rd
Shift numeric values in a data frame by an amount
- Source: eps
R/utililties.R
+ Source: R/utililties.R
shift_values.Rd
Simulate from the posterior distribution of a GAM
- Source: R/simulate-methods.R
+ Source: R/simulate-methods.R
simulate.Rd
Lead-210 age-depth measurements for Small Water
- Source: R/datasets.R
+ Source: R/datasets.R
smallAges.Rd
Indices of the parametric terms for a particular smooth
- Source: R/smooth-coefs.R
+ Source: R/smooth-coefs.R
smooth_coef_indices.Rd
Coefficients for a particular smooth
- Source: R/smooth-coefs.R
+ Source: R/smooth-coefs.R
smooth_coefs.Rd
Generate regular data over the covariates of a smooth
- Source: R/smooth-data.R
+ Source: R/smooth-data.R
smooth_data.Rd
Evaluate smooths at covariate values
- Source: R/smooth-estimates.R
+ Source: R/smooth-estimates.R
smooth_estimates.Rd
Extract the label for a smooth used by 'mgcv'
- Source: R/utililties.R
+ Source: R/utililties.R
smooth_label.Rd
Posterior draws for individual smooths
- Source: R/posterior-samples.R
+ Source: R/posterior-samples.R
smooth_samples.Rd
List the variables involved in smooths
- Source: R/utililties.R
+ Source: R/utililties.R
smooth_terms.Rd
Determine the type of smooth and return it n a human readable form
- Source: R/smooth-type.R
+ Source: R/smooth-type.R
smooth_type.Rd
Evaluate a spline at provided covariate values
- Source: R/smooth-estimates.R
+ Source: R/smooth-estimates.R
spline_values.Rd
Evaluate a spline at provided covariate values
- Source: R/smooth-estimates.R
+ Source: R/smooth-estimates.R
spline_values2.Rd
Extract names of all variables needed to fit a GAM or a smooth
- Source: R/utililties.R
+ Source: R/utililties.R
term_names.Rd
Names of variables involved in a specified model term
- Source: R/utililties.R
+ Source: R/utililties.R
term_variables.Rd
General extractor for additional parameters in mgcv models
- Source: R/distribution-helpers.R
+ Source: R/distribution-helpers.R
theta.Rd
A tidy basis representation of a smooth object
- Source: R/basis-funs.R
+ Source: R/basis-funs.R
tidy_basis.Rd
Exclude values that lie too far from the support of data
- Source: R/too_far.R
+ Source: R/too_far.R
too_far.Rd
Set rows of data to
- Source: NA
if the lie too far from a reference set of valuesR/too_far.R
+ Source: R/too_far.R
too_far_to_na.Rd
Transform estimated values and confidence intervals by applying a function
- Source: R/utililties.R
+ Source: R/utililties.R
transform_fun.Rd
Typical values of model covariates
- Source: R/data-slice.R
+ Source: R/data-slice.R
typical_values.Rd
Variance components of smooths from smoothness estimates
- Source: R/variance-components.R
+ Source: R/variance-components.R
variance_comp.Rd
Returns names of variables from a smooth label
- Source: R/utililties.R
+ Source: R/utililties.R
vars_from_label.Rd
Identify a smooth term by its label
- Source: R/utililties.R
+ Source: R/utililties.R
which_smooths.Rd