Select columns. To remove columns please see deselect
. Also accepts -column notation.
select_se(.data, colNames)
.data | data.frame |
---|---|
colNames | character vector of columns to keep |
.data with only selected columns
#> cyl gear #> Mazda RX4 6 4 #> Mazda RX4 Wag 6 4 #> Datsun 710 4 4 #> Hornet 4 Drive 6 3 #> Hornet Sportabout 8 3 #> Valiant 6 3#> a #> 1 1