Skip to Content
Advanced Object-Oriented Programming in R: Statistical Programming for Data Science, Analysis and Finance
book

Advanced Object-Oriented Programming in R: Statistical Programming for Data Science, Analysis and Finance

by Thomas Mailund
June 2017
Beginner to intermediate content levelBeginner to intermediate
128 pages
2h 35m
English
Apress

Overview

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.

What You'll Learn

  • 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

Who This Book Is For

Experienced programmers and for those with at least some prior experience with R programming language.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Functional Programming in R: Advanced Statistical Programming for Data Science, Analysis and Finance

Functional Programming in R: Advanced Statistical Programming for Data Science, Analysis and Finance

Thomas Mailund

Publisher Resources

ISBN: 9781484229187Purchase book