LEADER 03550nam 22005775 450 001 9910731487403321 005 20230831192558.0 010 $a9781484294871 010 $a1484294874 024 7 $a10.1007/978-1-4842-9487-1 035 $a(MiAaPQ)EBC30590862 035 $a(Au-PeEL)EBL30590862 035 $a(DE-He213)978-1-4842-9487-1 035 $a(PPN)272272469 035 $a(CKB)26872578800041 035 $a(Perlego)4515861 035 $a(EXLCZ)9926872578800041 100 $a20230608d2023 u| 0 101 0 $aeng 135 $aurcnu|||||||| 181 $ctxt$2rdacontent 182 $cc$2rdamedia 183 $acr$2rdacarrier 200 10$aFunctional Programming in R 4 $eAdvanced Statistical Programming for Data Science, Analysis, and Finance /$fby Thomas Mailund 205 $a2nd ed. 2023. 210 1$aBerkeley, CA :$cApress :$cImprint: Apress,$d2023. 215 $a1 online resource (166 pages) 300 $aIncludes index. 311 08$aPrint version: Mailund, Thomas Functional Programming in R 4 Berkeley, CA : Apress L. P.,c2023 9781484294864 330 $aMaster functions and discover how to write functional programs in R. In this book, updated for R 4, you'll learn to make your functions pure by avoiding side effects, write functions that manipulate other functions, and construct complex functions using simpler functions as building blocks. In Functional Programming in R 4, you?ll see how to 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 4, 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. 606 $aCompilers (Computer programs) 606 $aComputer programming 606 $aSoftware engineering 606 $aCompilers and Interpreters 606 $aProgramming Techniques 606 $aSoftware Engineering 615 0$aCompilers (Computer programs) 615 0$aComputer programming. 615 0$aSoftware engineering. 615 14$aCompilers and Interpreters. 615 24$aProgramming Techniques. 615 24$aSoftware Engineering. 676 $a005.11 700 $aMailund$b Thomas$0846442 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910731487403321 996 $aFunctional Programming in R 4$93394550 997 $aUNINA