drop_var_by_names | R Documentation |
Drop variables by name
drop_var_by_names(data, var_names)
data |
Data frame |
var_names |
Vector of variable names (as string) |
Data frame
drop_var_by_names(iris, "Species")
drop_var_by_names(iris, c("Sepal.Length", "Sepal.Width"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.