Using R Programming Structures: Object Systems

R Programming 4.0+
  • 9 Videos | 1h 2m 3s
  • Includes Assessment
  • Earns a Badge
R supports not one but multiple alternative object-oriented programming paradigms. These are known as object systems and constitute a relatively underutilized but incredibly powerful feature of the R language. This course will show you how to work effectively with object systems in R. You'll begin by identifying different object systems. You'll then examine how the S3 object system allows some features of object-oriented programming, albeit in a very different form from other OOP languages. You'll move to leverage the R5 object system, also known as the system of reference classes, to create classes and instantiate objects, specify member variables and methods, and initialize values of member functions. You'll also implement inheritance using the system of reference classes. When you're done with this course, you'll be able to utilize different object systems in your R programming projects.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    recognize how the print() function works based on the S3 object system
    recall the functions print() invokes based on the type of input argument
    create custom classes using the class(), attr(), and structure() functions
    extend the print functionality to work with custom classes
  • implement OOP using reference classes
    create an R5 reference class with various member variables and member functions
    create a reference class that inherits or derives from another reference class
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 41s
    UP NEXT
  • Playable
    2. 
    Recognizing the print() Function & S3 Object System
    10m 7s
  • Locked
    3. 
    Identifying R Function Invocations in S3
    5m 25s
  • Locked
    4. 
    Creating Custom Classes Using R Functions
    6m 45s
  • Locked
    5. 
    Extending the print() Function for R Custom Classes
    9m 59s
  • Locked
    6. 
    Using Reference Classes in R
    7m 52s
  • Locked
    7. 
    Using Member Variables and Functions in R
    8m 45s
  • Locked
    8. 
    Using Inheritance in Reference Classes in R
    5m 12s
  • Locked
    9. 
    Course Summary
    1m 49s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE