BaşlayınÜcretsiz Başlayın

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.

Bu egzersiz

Joining Data with data.table in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Split the gdp and population columns by year
___(gdp_oceania, formula = ___, value.var = ___)
Kodu Düzenle ve Çalıştır