recipes_remove_cols {recipes} | R Documentation |
This helper function removes columns based on character vectors.
recipes_remove_cols(new_data, object, col_names = character())
new_data |
A tibble. |
object |
A step object. |
col_names |
A character vector, denoting columns to remove. Will
overwrite |
new_data
with column names removed if specified by col_names
or
object$removals
.