Functional Data Structures in R: Advanced Statistical Programming in R
Book information
Description
Get an introduction to functional data structures using R and write more effective code and gain performance for your programs. This book teaches you workarounds because data in functional languages is not mutable: for example you’ll learn how to change variable-value bindings by modifying environments, which can be exploited to emulate pointers and implement traditional data structures. You’ll also see how, by abandoning traditional data structures, you can manipulate structures by building new versions rather than modifying them. You’ll discover how these so-called functional data structures are different from the traditional data structures you might know, but are worth understanding to do serious algorithmic programming in a functional language such as R. By the end of Functional Data Structures in R, you’ll understand the choices to make in order to most effectively work with data structures when you cannot modify the data itself. These techniques are especially applicable for algorithmic development important in big data, finance, and other data science applications. What You'll LearnCarry out algorithmic programming in R Use abstract data structures Work with both immutable and persistent data Emulate pointers and implement traditional data structures in RBuild new versions of traditional data structures that are known Who This Book Is For Experienced or advanced programmers with at least a comfort level with R. Some experience with data structures recommended. Front Matter ....Pages i-xii Introduction (Thomas Mailund)....Pages 1-2 Abstract Data Structures (Thomas Mailund)....Pages 3-23 Immutable and Persistent Data (Thomas Mailund)....Pages 25-66 Bags, Stacks, and Queues (Thomas Mailund)....Pages 67-133 Heaps (Thomas Mailund)....Pages 135-187 Sets and Search Trees (Thomas Mailund)....Pages 189-245 Back Matter ....Pages 247-256
Similar books
Getting StartED with Dojo
2009 · PDF
The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP
2007 · PDF
PHP Solutions: Dynamic Web Design Made Easy
2007 · PDF
Foundations of Qt Development
2007 · PDF
Pro VB 2008 and the .NET 3.5 Platform
2008 · PDF
Practical JavaScript™, DOM Scripting, and Ajax Projects
2007 · PDF
Beginning JavaScript with DOM Scripting and Ajax: From Novice to Professional
2006 · PDF
.NET Test Automation Recipes: A Problem-Solution Approach
2006 · PDF