powered by
A convenient selector gadget
select_col(df, ...)
Returns a dataframe with selected columns
The data set from which to select a column
columns to select, no quotes
A friendly way to select a column or several columns. Mainly for non-pipe usage It is recommended to use known select functions to do pipe manipulations. Otherwise convert to tibble
select_col(yields,height,weight,normal) # A pipe friendly example if (FALSE) { library(dplyr) as_tibble(yields) %>% select_col(height, weight, normal) }
Run the code above in your browser using DataLab