Mailund, Thomas,

Advanced object-oriented programming in R statistical programming for data science, analysis, and finance / [electronic resource] : Thomas Mailund. - [New York] : Springer Science and Business Media : Apress, 2017. - xv, 110 pages : illustrations ; 23 cm. - For professionals by professionals . - Books for professionals by professionals. .

Includes index.

Classes and generic functions -- Class hierarchies -- Implementation reuse -- Statistical models -- Operator overloading -- S4 classes -- R6 classes -- Conclusions.

Learn how to write object-oriented programs in R and how to construct classes and class hierarchies in the three object-oriented systems available in R. This book gives an introduction to object-oriented programming in the R programming language and shows you how to use and apply R in an object-oriented manner. You will then be able to use this powerful programming style in your own statistical programming projects to write flexible and extendable software. After reading Advanced Object-Oriented Programming in R, you'll come away with a practical project that you can reuse in your own analytics coding endeavors. You'll then be able to visualize your data as objects that have state and then manipulate those objects with polymorphic or generic methods. Your projects will benefit from the high degree of flexibility provided by polymorphism, where the choice of concrete method to execute depends on the type of data being manipulated. You will: Define and use classes and generic functions using R Work with the R class hierarchies Benefit from implementation reuse Handle operator overloading Apply the S4 and R6 classes.--

1484229185 9781484229187

2017945396


Object-oriented programming (Computer science)
R (Computer program language)
Object-oriented programming (Computer science)
R (Computer program language)

QA276.45.R3 / M348 2017

005.117