Items related to Functional programming in R (Advanced statistical programmin...

Functional programming in R (Advanced statistical programming in R) - Softcover

 
9781520514369: Functional programming in R (Advanced statistical programming in R)

This specific ISBN edition is currently not available.

Synopsis

This book gives an introduction to functions in R and how to write functional programs. Functional programming is a style of programming, like object-oriented programming, but one that focuses on data transformations and calculations rather than objects and state. In functional programming, you model programs by describing how functions translate input data to output data. Functions themselves are data you can manipulate them, building more complex functions by combining simpler functions. The R programming language is primarily a functional language, although with some impurities. This book will teach you fundamental functional programming concepts such as pure functions, higher-order functions, scopes and closures, continuations, and point-free programming, and how to apply these techniques effectively in R.

"synopsis" may belong to another edition of this title.

From the Back Cover

Master functions and discover how to write functional programs in R. In this 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.
Functional programming is a style of programming, like object-oriented programming, but one that focuses on data transformations and calculations rather than objects and state. Where in object-oriented programming you model your programs by describing which states an object can be in and how methods will reveal or modify that state, in functional programming you model programs by describing how functions translate input data to output data. Functions themselves are considered to be data you can manipulate and much of the strength of functional programming comes from manipulating functions; that is, building more complex functions by combining simpler functions.
You will:

  • Write functions in R including infix operators and replacement functions 
  • Create higher order functions
  • Pass functions to other functions and start using functions as data you can manipulate
  • Use Filer, Map and Reduce functions to express the intent behind code clearly and safely
  • Build new functions from existing functions without necessarily writing any new functions, using point-free programming
  • Create functions that carry data along with them

About the Author

Thomas Mailund is an associate professor in bioinformatics at Aarhus University, Denmark. He has a background in math and computer science.  For the last decade, his main focus has been on genetics and evolutionary studies, particularly comparative genomics, speciation, and gene flow between emerging species.  He has published Beginning Data Science in R with Apress as well as other books out there.  

"About this title" may belong to another edition of this title.

  • PublisherIndependently published
  • Publication date2017
  • ISBN 10 1520514360
  • ISBN 13 9781520514369
  • BindingPaperback
  • LanguageEnglish
  • Number of pages148

(No Available Copies)

Search Books:



Create a Want

Can't find the book you're looking for? We'll keep searching for you. If one of our booksellers adds it to AbeBooks, we'll let you know!

Create a Want

Other Popular Editions of the Same Title

9781484227459: Functional Programming in R: Advanced Statistical Programming for Data Science, Analysis and Finance

Featured Edition

ISBN 10:  148422745X ISBN 13:  9781484227459
Publisher: Apress, 2017
Softcover