remove_columns {Rapi} | R Documentation |
Remove a column or columns from a data.frame.
Description
Remove a column or columns from a data.frame.
Usage
remove_columns(df, column_names, verbose = FALSE)
Arguments
df |
Data.frame or tibble. |
column_names |
Column name or column names as a character vector. |
verbose |
Boolean, provides extra information when removing a column. |
Value
Data.frame.
Examples
df <- remove_columns(cars, "speed")
[Package Rapi version 1.0.5 Index]