Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Foundations of Functional Programming with purrr

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Load the data
data(___)
Code bewerken en uitvoeren