Remove a column or columns from a data.frame.
remove_columns(df, column_names, verbose = FALSE)
Data.frame or tibble.
Column name or column names as a character vector.
Boolean, provides extra information when removing a column.
Data.frame.
df <- remove_columns(cars, "speed")