select2: Select variables

View source: R/select.R

select2R Documentation

Select variables

Description

Select variables in a data frame.

Usage

select2(df, var)

Arguments

df

A data frame.

var

A character or integer vector with variable names or indices to select.

Value

The subsetted data frame.

Examples

select2(iris, 1:3)

privefl/minidplyr2 documentation built on Sept. 25, 2022, 6:35 p.m.