Vidyalelo
R Programming · Q34

Data Manipulation with dplyr

Programming · R Programming · question 34

Q34

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"))
Answer
D.
pick_cols(matches("a"))

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board