remove_columns | R Documentation |
Remove a column or columns from a data.frame.
remove_columns(df, column_names, verbose = FALSE)
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. |
Data.frame.
df <- remove_columns(cars, "speed")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.