powered by
Select a (reordered) subset of variables from a subset.
select_vars(data, keep)
a data frame with tidyverse code attribute
the dataset
vector of variable names to keep
Tom Elliott, Zhaoming Su
select_vars(iris, c("Sepal.Length", "Species", "Sepal.Width"))
Run the code above in your browser using DataLab