Data Challenge Lab Home

Iteration [program]

(Builds on: Lists, Function basics)
(Leads to: List columns, Scoped verbs)

Functions allow you to eliminate one type of duplication. The tools of iteration, for loops and functional programming, allow you to eliminate another. It’s good to understand how for loops work, but in this class we’ll mostly focus on the map() functions from purrr.

Readings