View source: R/data_cleaning.R
data_cleaning | R Documentation |
Creates a new data frame with selected columns dropped from the old data frame
data_cleaning(dataframe, columns)
dataframe |
A data frame or data frame extension (e.g. a tibble). |
columns |
Name(s) of column(s) from the data frame |
A new data frame with columns dropped from the old data frame. If all columns are to be removed, an empty data frame will be returned.
data_cleaning(mtcars, c("mpg","disp","qsec")) data_cleaning(mtcars, "disp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.