1. 学习
  2. /
  3. 课程
  4. /
  5. Programming with dplyr

Connected

练习

You are the walrus

Getting a column name like `median(perc_electric_access, na.rm = TRUE)` in the previous lesson can be pretty difficult to work with as a programmer. In this exercise, you'll use the walrus operator (:=) and other rlang magic with dplyr to specify the name of that column instead.

说明 1 / 共 2 个

undefined XP
  • 1
    • Complete the function by passing in the tibble as .data along with the grouping and calculation columns.
  • 2
    • Call the function, grouping by continent, to calculate median perc_college_complete by continent for world_bank_data.