select_se: Select columns standard interface.

Description Usage Arguments Value See Also Examples

View source: R/select_se.R

Description

Select columns. To remove columns please see deselect. Also accepts -column notation.

Usage

1
select_se(.data, colNames)

Arguments

.data

data.frame

colNames

character vector of columns to keep

Value

.data with only selected columns

See Also

deselect, select, select_at

Examples

1
2
3
4
5
6
datasets::mtcars %.>%
   select_se(., c("cyl", "gear")) %.>%
   head(.)
# essentially dplyr::select_at()

data.frame(a=1, b=2) %.>% select_se(., '-b')

seplyr documentation built on June 12, 2021, 5:07 p.m.