I’m pleased to announce that a rewrite of my first chapter of “Modeling Data With Functional Programming In R” is available in draft format. Most of the feedback of the previous version centered around accessibility and practicality of the material. In response, this first chapter is dedicated to discussing the functional programming paradigm and the key role of the function. It then progresses into talking about the relationships between mathematical notation we take for granted and functional programming syntax. The chapter concludes by introducing the lambda calculus using Church numerals to illustrate key concepts. This version includes many examples using the iris dataset, so the examples are all easily reproducible.
Any and all feedback is greatly appreciated.