identify_predictors_type | R Documentation |
Internal function to identify predictor types. The supported types are:
"numeric": all predictors belong to the classes "numeric" and/or "integer".
"categorical": all predictors belong to the classes "character" and/or "factor".
"mixed": predictors are of types "numeric" and "categorical".
"unknown": predictors of unknown type.
identify_predictors_type(df = NULL, predictors = NULL)
df |
(required; data frame, tibble, or sf) A data frame with responses and predictors. Default: NULL. |
predictors |
(optional; character vector) Names of the predictors to select from |
character string: predictors type
Other data_types:
identify_predictors()
,
identify_predictors_categorical()
,
identify_predictors_numeric()
,
identify_predictors_zero_variance()
,
identify_response_type()
identify_predictors_type(
df = vi,
predictors = vi_predictors
)
identify_predictors_type(
df = vi,
predictors = vi_predictors_numeric
)
identify_predictors_type(
df = vi,
predictors = vi_predictors_categorical
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.