Functional Data Structures in R: Advanced Statistical Programming in R