Skip to main content
  • Book
  • © 2017

Advanced Object-Oriented Programming in R

Statistical Programming for Data Science, Analysis and Finance

Apress

Authors:

  • An up-to-date and practical R programming guide dealing with object-oriented aspects, classes and more
  • Includes a case study project as a take away for readers
  • Written by an expert in both programming and statistics

Buy it now

Buying options

eBook USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (8 chapters)

  1. Front Matter

    Pages i-xv
  2. Classes and Generic Functions

    • Thomas Mailund
    Pages 1-20
  3. Class Hierarchies

    • Thomas Mailund
    Pages 21-34
  4. Implementation Reuse

    • Thomas Mailund
    Pages 35-42
  5. Statistical Models

    • Thomas Mailund
    Pages 43-60
  6. Operator Overloading

    • Thomas Mailund
    Pages 61-71
  7. S4 Classes

    • Thomas Mailund
    Pages 73-90
  8. R6 Classes

    • Thomas Mailund
    Pages 91-105
  9. Conclusions

    • Thomas Mailund
    Pages 107-107
  10. Back Matter

    Pages 109-110

About this book

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.






Authors and Affiliations

  • Aarhus N, Denmark

    Thomas Mailund

About the author

Thomas Mailund is an associate professor in bioinformatics at Aarhus University, Denmark. He has a background in math and computer science.  For the last decade, his main focus has been on genetics and evolutionary studies, particularly comparative genomics, speciation, and gene flow between emerging species.  He has published Beginning Data Science in R, Functional Programming in R and Metaprogramming in R with Apress as well as other books out there.  

Bibliographic Information

Buy it now

Buying options

eBook USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access