Examveda
Examveda

How do you select columns from a dplyr data frame where the column names start with the letter 'a'?

A. select_cols(starts_with("a"))

B. choose_columns(matches("a"))

C. select(starts_with("a"))

D. pick_cols(matches("a"))

Answer: Option C


This Question Belongs to R Programming >> Data Manipulation With Dplyr

Join The Discussion

Related Questions on Data Manipulation with dplyr