drop_var_by_names: Drop variables by name

View source: R/drop.R

drop_var_by_namesR Documentation

Drop variables by name

Description

Drop variables by name

Usage

drop_var_by_names(data, var_names)

Arguments

data

Data frame

var_names

Vector of variable names (as string)

Value

Data frame

Examples

drop_var_by_names(iris, "Species")
drop_var_by_names(iris, c("Sepal.Length", "Sepal.Width"))

explore documentation built on Sept. 11, 2024, 7:40 p.m.