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

Right join with the data.table syntax

capitals and population, the two data.tables containing information about the geography and population of Australia are available in your workspace. Your goal is to add the state of each city to the population by performing a right join using the data.table syntax.

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

Joining Data with data.table in R

ดูคอร์ส

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

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

# Right join population to capitals using data.table syntax
capitals[___, on = ___]
แก้ไขและรันโค้ด