Auxiliary function to select vars of data table
filter_vars(
dt,
vars = names(dt),
include = NULL,
exclude = NULL,
include_classes = NULL,
exclude_classes = NULL,
verbose = TRUE
)character vector of selected vars
data frame
character: A vector of variable names to consider for identifying unique combinations.
character: Name of variable to be included, that might belong
to the group excluded in the exclude
character: Names of variables to exclude
character: classes to include in the analysis (e.g., "numeric", "integer", "date")
character: classes to exclude from analysis (e.g., "numeric", "integer", "date")
logical: If FALSE no message will be displayed. Default is TRUE