select_vars | R Documentation |
Select a (reordered) subset of variables from a subset.
select_vars(data, keep)
data |
the dataset |
keep |
vector of variable names to keep |
a data frame with tidyverse code attribute
Tom Elliott, Zhaoming Su
select_vars(iris, c("Sepal.Length", "Species", "Sepal.Width"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.