शुरू करेंमुफ़्त में शुरू करें

Finding multiple matches

Two new data.tables have been loaded in your workspace:

  • life_exp: contains the life expectancy of each country in 2010 sourced from the Gapminder foundation
  • continents: contains a mapping between each country and the continent(s) they are part of built from information provided by Countries-ofthe-World.com.

In this exercise, you will find the countries that are listed in more than one continent

यह अभ्यास पाठ्यक्रम का हिस्सा है

Joining Data with data.table in R

पाठ्यक्रम देखें

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# How many continents is each country listed in?
___[___, on = .(country), .N, 
    by = ___]
कोड संपादित करें और चलाएँ