LEADER 04144nam 22006255 450 001 9910254856803321 005 20220623180809.0 010 $a9781484227466 010 $a1484227468 024 7 $a10.1007/978-1-4842-2746-6 035 $a(CKB)3710000001127570 035 $a(DE-He213)978-1-4842-2746-6 035 $a(MiAaPQ)EBC4832569 035 $a(CaSebORM)9781484227466 035 $a(PPN)199770514 035 $a(OCoLC)983204761 035 $a(OCoLC)ocn983204761 035 $a(EXLCZ)993710000001127570 100 $a20170328d2017 u| 0 101 0 $aeng 135 $aurnn#008mamaa 181 $ctxt$2rdacontent 182 $cc$2rdamedia 183 $acr$2rdacarrier 200 10$aFunctional programming in R $eadvanced statistical programming for data science, analysis and finance /$fby Thomas Mailund 205 $a1st ed. 2017. 210 1$aBerkeley, CA :$cApress :$cImprint: Apress,$d2017. 215 $a1 online resource (XV, 104 p. 7 illus., 1 illus. in color.) 300 $aIncludes index. 311 08$a9781484227459 311 08$a148422745X 327 $a1. Functions in R -- 2. Pure Functional Programming -- 3. Scope and Closures -- 4. Higher-order Functions -- 5. Filer, Map, and Reduce -- 6. Point-free Programming -- Afterword. 330 $aMaster 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. 606 $aProgramming languages (Electronic computers) 606 $aComputer programming 606 $aSoftware engineering 606 $aR (Computer program language) 606 $aProgramming Languages, Compilers, Interpreters$3https://scigraph.springernature.com/ontologies/product-market-codes/I14037 606 $aProgramming Techniques$3https://scigraph.springernature.com/ontologies/product-market-codes/I14010 606 $aSoftware Engineering$3https://scigraph.springernature.com/ontologies/product-market-codes/I14029 615 0$aProgramming languages (Electronic computers) 615 0$aComputer programming. 615 0$aSoftware engineering. 615 0$aR (Computer program language) 615 14$aProgramming Languages, Compilers, Interpreters. 615 24$aProgramming Techniques. 615 24$aSoftware Engineering. 676 $a005.13 700 $aMailund$b Thomas$4aut$4http://id.loc.gov/vocabulary/relators/aut$0846442 801 0$bUMI 801 1$bUMI 906 $aBOOK 912 $a9910254856803321 996 $aFunctional Programming in R$92056112 997 $aUNINA