Earlier this month I had the privilege of traveling to Amsterdam to teach a great group of folks data science. As is so often the case, I felt I learned as much from the students as they learned from me. For example, one of the students asked for some R programming assistance in the area of data wrangling and feature engineering. The scenario in question really intrigued me. I knew how I could solve the problem using traditional non-functional programming techniques (e.g., using for loops), but I was looking for something more elegant.
This is a companion discussion topic for the original entry at https://blog.datasciencedojo.com/feature-engineering/