selectVars {iNZightTools} | R Documentation |
Select a (reordered) subset of variables from a subset.'
selectVars(.data, keep)
.data |
the dataset |
keep |
vector of variable names to keep |
a data frame with tidyverse code attribute
Tom Elliott
selectVars(iris, c("Sepal.Length", "Species", "Sepal.Width"))