Exam DISC-DA Practice Question 10
Study guide: Exam DISC-DA
An analyst works with a dataframe of 25,000 claims in R. Which dplyr step changes the number of columns but never the number of rows?
- A)
filter(), keeping the claims above a threshold - B)
mutate(), adding a severity band derived from the paid amount - C)
arrange(), sorting the claims by paid amount - D)
summarize()aftergroup_by(), totalling paid by state
Answer this question and see the worked solution