selectVars {iNZightTools}R Documentation

Select variables from a dataset

Description

Select a (reordered) subset of variables from a subset.'

Usage

selectVars(.data, keep)

Arguments

.data

the dataset

keep

vector of variable names to keep

Value

a data frame with tidyverse code attribute

Author(s)

Tom Elliott

Examples

Run examples

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

[Package iNZightTools version 1.12.2 Index]