View source: R/validate_arg_max_vif.R
| validate_arg_max_vif | R Documentation |
max_vifCheck and constrain argument max_vif
validate_arg_max_vif(max_vif = NULL, quiet = FALSE, function_name = NULL)
max_vif |
(optional, numeric or NULL) Maximum Variance Inflation Factor allowed for |
quiet |
(optional; logical) If FALSE, messages are printed. Default: FALSE. |
function_name |
(optional, character string) Name of the function performing the argument check. Default: NULL |
numeric or NULL
Other argument_validation:
drop_geometry_column(),
validate_arg_df(),
validate_arg_df_not_null(),
validate_arg_encoding_method(),
validate_arg_f(),
validate_arg_function_name(),
validate_arg_max_cor(),
validate_arg_predictors(),
validate_arg_preference_order(),
validate_arg_quiet(),
validate_arg_responses()
max_vif <- validate_arg_max_vif(
max_vif = 11, #wrong value
quiet = FALSE
)
max_vif
attributes(max_vif)$validated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.