I’m pleased to announce the completion of the second chapter of my book, Modeling data with functional programming in R. This chapter discusses vector mechanics in R, exploring how to model mathematical entities with vectors and the operations involved. I also touch on the concept of vectorization, although the next two chapters will drill deep into that idea. There’s a bit more math in this chapter, although it should be easy to follow. A basic knowledge of set theory is assumed, but that’s about it. There are a lot of examples to provide context to the propositions I introduce to ensure they are relevant to the discussion. The majority of the examples are based on the diabetes dataset, which is available via the UCI Machine Learning Repository.
Enjoy the read, and I look forward to any comments.