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

Casting multiple columns

The data table from the previous exercise, gdp_oceania, is available in your workspace. Your goal is to create a wide format data table, splitting both the "gdp" and "population" columns by the "year" column.

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

Joining Data with data.table in R

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

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

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

# Split the gdp and population columns by year
___(gdp_oceania, formula = ___, value.var = ___)
कोड संपादित करें और चलाएँ