View source: R/preference_order_methods.R
f_auto | R Documentation |
Internal function to select a proper f_...() function to compute preference order depending on the types of the response variable and the predictors. The selection criteria is available as a data frame generated by f_auto_rules()
.
f_auto(df = NULL, response = NULL, predictors = NULL, quiet = FALSE)
df |
(required; data frame, tibble, or sf) A data frame with responses and predictors. Default: NULL. |
response |
(optional; character string or vector) Name/s of response variable/s in |
predictors |
(optional; character vector) Names of the predictors to select from |
quiet |
(optional; logical) If FALSE, messages generated during the execution of the function are printed to the console Default: FALSE |
function name
Other preference_order_tools:
f_auto_rules()
,
f_functions()
,
preference_order_collinear()
f <- f_auto(
df = vi[1:1000, ],
response = "vi_numeric",
predictors = vi_predictors_numeric
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.