เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Mutation necessary

The data you subsetted with select() and filter() in the previous exercise is available for you here as subsetted_imf. Recall that mutate() is used to create new columns in a tibble/data frame and that group_by() can be used with summarize() to calculate statistics for one variable across the levels of another variable.

Note that the usd_conversion_rate variable corresponds to how much of the nation's currency is needed to equal one US dollar (USD).

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Programming with dplyr

ดูคอร์ส

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Divide columns to get GDP in each country's currency
subsetted_imf %>% 
  ___
แก้ไขและรันโค้ด