MulaiMulai sekarang secara gratis

Name review

Now, you'll quickly review how to check if a list has names, and how to pull out a specific element from a list. Remember, you can use the names() function to see if a list is named. There are several ways to extract a named element from a list, but the key difference when working with data frames is to remember the [[double bracket]] syntax.

Latihan ini adalah bagian dari kursus

Foundations of Functional Programming with purrr

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Load the data
data(___)
Edit dan Jalankan Kode