Learn R Programming

seplyr (version 1.0.4)

select_se: Select columns standard interface.

Description

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

Usage

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

Run this code
# NOT RUN {

datasets::mtcars %.>%
   select_se(., c("cyl", "gear")) %.>%
   head(.)
# essentially dplyr::select_at()

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

# }

Run the code above in your browser using DataLab