Skip to contents

All-in-one function

tidy_plus_plus()
Tidy a model and compute additional informations
supported_models
Listing of Supported Models

Add to tidy tibbles

tidy_attach_model() tidy_and_attach() tidy_get_model() tidy_detach_model()
Attach a full model to the tibble of model terms
tidy_identify_variables()
Identify the variable corresponding to each model coefficient
tidy_add_coefficients_type()
Add coefficients type and label as attributes
tidy_add_contrasts()
Add contrasts type for categorical variables
tidy_add_estimate_to_reference_rows()
Add an estimate value to references rows for categorical variables
tidy_add_header_rows()
Add header rows variables with several terms
tidy_add_n()
Add the (weighted) number of observations
tidy_add_pairwise_contrasts() experimental
Add pairwise contrasts for categorical variables
tidy_add_reference_rows()
Add references rows for categorical variables
tidy_add_term_labels()
Add term labels
tidy_add_variable_labels()
Add variable labels
tidy_disambiguate_terms()
Disambiguate terms
tidy_remove_intercept()
Remove intercept(s)
tidy_select_variables()
Select variables to keep/drop

Custom tidiers

tidy_broom()
Tidy with broom::tidy() and checks that all arguments are used
tidy_parameters()
Tidy a model with parameters package
tidy_with_broom_or_parameters()
Tidy a model with broom or parameters
tidy_multgee() experimental
Tidy a multgee model
tidy_zeroinfl() experimental
Tidy a zeroinfl or a hurdle model

Tidiers for marginal predictions, contrasts, and effects

tidy_marginal_predictions() variables_to_predict() plot_marginal_predictions() experimental
Marginal Predictions with marginaleffects::avg_predictions()
tidy_all_effects() experimental
Marginal Predictions at the mean with effects::allEffects()
tidy_ggpredict() experimental
Marginal Predictions with ggeffects::ggpredict()
tidy_avg_comparisons() experimental
Marginal Contrasts with marginaleffects::avg_comparisons()
tidy_marginal_contrasts() variables_to_contrast() experimental
Marginal Contrasts with marginaleffects::avg_comparisons()
tidy_avg_slopes() experimental
Marginal Slopes / Effects with marginaleffects::avg_slopes()
tidy_margins() superseded
Average Marginal Effects with margins::margins()
tidy_marginal_means() deprecated
Marginal Means with marginaleffects::marginal_means()

Get information from model objects

model_compute_terms_contributions()
Compute a matrix of terms contributions
model_get_assign()
Get the assign attribute of model matrix of a model
model_get_coefficients_type()
Get coefficient type
model_get_contrasts()
Get contrasts used in the model
model_get_model()
Get the model from model objects
model_get_model_frame()
Get the model frame of a model
model_get_model_matrix() model_get_terms(<cch>)
Get the model matrix of a model
model_get_n()
Get the number of observations
model_get_nlevels()
Get the number of levels for each factor used in xlevels
model_get_offset()
Get model offset
model_get_pairwise_contrasts()
Get pairwise comparison of the levels of a categorical variable
model_get_response()
Get model response
model_get_response_variable()
Get the name of the response variable
model_get_terms()
Get the terms of a model
model_get_weights()
Get sampling weights used by a model
model_get_xlevels()
Get xlevels used in the model
model_identify_variables()
Identify for each coefficient of a model the corresponding variable
model_list_contrasts()
List contrasts used by a model
model_list_higher_order_variables()
List higher order variables of a model
model_list_terms_levels()
List levels of categorical terms
model_list_variables()
List all the variables used in a model

Variable type selectors

Exported utility functions

.assert_package() .get_package_dependencies() .get_all_packages_dependencies() .get_min_version_required()
Check a package installation status or minimum required version
.clean_backticks()
Remove backticks around variable names
.escape_regex()
Escapes any characters that would have special meaning in a regular expression
seq_range()
Sequence generation between min and max