Functional Programming in R

Advanced Statistical Programming for Data Science, Analysis and Finance

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.

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.

What You'll Learn

  • 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




Who This Book Is For

Those with at least some experience with programming in R.

Portrait

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.  

… weiterlesen
In den Warenkorb
Filialabholung

Versandkostenfrei

Beschreibung

Produktdetails


Einband Taschenbuch
Seitenzahl 104
Erscheinungsdatum 29.03.2017
Sprache Englisch
ISBN 978-1-4842-2745-9
Verlag Apress L.P.
Maße (L/B/H) 23,7/15,9/1,2 cm
Gewicht 203 g
Abbildungen 6 schwarz-weiße und 1 farbige Abbildungen, Bibliographie
Auflage 1st ed.
Buch (Taschenbuch, Englisch)
24,99
inkl. gesetzl. MwSt.
Sofort lieferbar
Versandkostenfrei
In den Warenkorb
Filialabholung

Versandkostenfrei

Andere Kunden interessierten sich auch für

  • Modern Data Science with R
    von Benjamin S. (Smith College Baumer, Daniel T. (Macalester College Kaplan, Nicholas J. (Amherst College Horton
    Buch (Set mit diversen Artikeln)
    79,99
  • Web Application Development with R Using Shiny - Second Edition
    von Chris Beeley
    Buch (Taschenbuch)
    44,99
  • R for Data Science
    von Hadley Wickham, Garrett Grolemund
    Buch (Taschenbuch)
    32,99
  • Introduction to R for Spatial Analysis and Mapping
    von Chris Brunsdon & Lex Comber
    Buch (Taschenbuch)
    37,99
  • Implement the chi square test in R(statistic and programming language)
    von Sandeep Kaur
    Buch (Taschenbuch)
    41,99
  • Working with Coders
    von Patrick Gleeson
    Buch (Taschenbuch)
    22,99
  • Advanced Object-Oriented Programming in R
    von Thomas Mailund
    Buch (Taschenbuch)
    24,99
  • Playway 3. Jahrgangsstufe 3. Activity Book mit Audio-CD
    (1)
    Schulbuch (Kunststoff-Einband)
    10,75
  • Playway 4. Ab Klasse 3
    Schulbuch (Kunststoff-Einband)
    10,75
  • English G Lighthouse - Allgemeine Ausgabe / Band 1: 5. Schuljahr - Workbook mit Audios online
    von Gwen Berwick, Sydney Thorne
    Schulbuch (Taschenbuch)
    9,75
  • English G Lighthouse - Allgemeine Ausgabe / Band 2: 6. Schuljahr - Workbook mit Audios online
    von Gwen Berwick
    (2)
    Schulbuch (Taschenbuch)
    9,75
  • English G Access - Allgemeine Ausgabe / Band 3: 7. Schuljahr - Workbook mit Audios online
    von Jennifer Seidl
    Schulbuch (Taschenbuch)
    9,50
  • English G Access - Allgemeine Ausgabe / Band 1: 5. Schuljahr - Workbook mit Audios online und MyBook
    von Jennifer Seidl
    Schulbuch (Taschenbuch)
    9,50
  • English G Lighthouse - Allgemeine Ausgabe / Band 3: 7. Schuljahr - Workbook mit Audios online
    von Gwen Berwick
    Schulbuch (Taschenbuch)
    9,75
  • English G Access - Allgemeine Ausgabe / Band 2: 6. Schuljahr - Workbook mit Audios online
    von Jennifer Seidl
    Schulbuch (Taschenbuch)
    9,50
  • English G Lighthouse - Allgemeine Ausgabe / Band 4: 8. Schuljahr - Workbook mit Audios online
    von Gwen Berwick, Sydney Thorne
    (2)
    Schulbuch (Taschenbuch)
    9,75
  • English G 21 - Ausgabe D / Band 1: 5. Schuljahr - Workbook mit Audios online
    von Jennifer Seidl
    (1)
    Schulbuch (Taschenbuch)
    10,75
  • English G 21 - Ausgabe D / Band 2: 6. Schuljahr - Workbook mit Audios online
    von Jennifer Seidl
    (4)
    Schulbuch (Taschenbuch)
    10,75
  • English G Lighthouse - Allgemeine Ausgabe / Band 5: 9. Schuljahr - Workbook mit Audios online
    von Gwen Berwick, Sydney Thorne
    Schulbuch (Taschenbuch)
    9,75
  • Playway 3. Ab Klasse 3
    (1)
    Schulbuch (Kunststoff-Einband)
    14,50

Wird oft zusammen gekauft

Functional Programming in R

Functional Programming in R

von Thomas Mailund
Buch (Taschenbuch)
24,99
+
=
Dynamic Linear Models with R

Dynamic Linear Models with R

von Giovanni Petris, Sonia Petrone, Patrizia Campagnoli
Buch (Taschenbuch)
79,99
+
=

für

104,98

inkl. gesetzl. MwSt.

Alle kaufen

Kundenbewertungen

Es wurden noch keine Bewertungen geschrieben.