Using R Programming Structures: Object Systems
R Programming 4.0+
| Expert
- 9 videos | 58m 33s
- 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 courserecognize how the print() function works based on the S3 object systemrecall the functions print() invokes based on the type of input argumentcreate custom classes using the class(), attr(), and structure() functionsextend the print functionality to work with custom classes
-
implement OOP using reference classescreate an R5 reference class with various member variables and member functionscreate a reference class that inherits or derives from another reference classsummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 41sUP NEXT
-
2.Recognizing the print() Function & S3 Object System10m 7s
-
3.Identifying R Function Invocations in S35m 25s
-
4.Creating Custom Classes Using R Functions6m 45s
-
5.Extending the print() Function for R Custom Classes9m 59s
-
6.Using Reference Classes in R7m 52s
-
7.Using Member Variables and Functions in R8m 45s
-
8.Using Inheritance in Reference Classes in R5m 12s
-
9.Course Summary1m 49s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.