✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
You have the following dataset in R
# A tibble: 4 × 4
id name score passed
<dbl> <chr> <dbl> <lgl>
1 101 Jane 85 TRUE
2 102 Rob 78 TRUE
3 103 Shanika 62 FALSE
4 104 George 90 TRUE
A data analyst wants to:
Rename the column score to exam_score.
Extract the exam_score column as a vector for further calculations.
Which of the following statements correctly describes how this can be done using dplyr?