- DataCamp Lesson: Functional Programming: Chapter 3 of Writing Functions in R.
- R for Data Science textbook on Iteration: [r4ds-21]
Note that simulations in time we are writing are an example of a sequential process, where each iteration depends on the previous iteration. These cannot be abstracted into
map functions. However, iterating over multiple parameters can!