Название: Functional Programming in R: Advanced Statistical Programming for Data Science, Analysis and Finance
Автор: Thomas Mailund
Издательство: Apress
Год: 2017
Формат: PDF, EPUB
Размер: 5,8 Мб
Язык: английский / English
Master functions and discover how to write functional programs in R. In this concise book, you'll make your functions pure by avoiding side-effects; you’ll write functions that manipulate other functions, and you’ll construct complex functions using simpler functions as building blocks.
In Functional Programming in R, you’ll see how we can replace loops, which can have side-effects, with recursive functions that can more easily avoid them. In addition, the book covers why you shouldn't use recursion when loops are more efficient and how you can get the best of both worlds.