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