Object-Oriented Programming with S3 and R6 in R

0
Level

Intermediate

Language

Access

Paid

Certificate

Paid

Manage the complexity in your code using object-oriented programming with the S3 and R6 systems.

Add your review

Course Description

Object-oriented programming (OOP) lets you specify relationships between functions and the objects that they can act on, helping you manage complexity in your code. This is an intermediate level course, providing an introduction to OOP, using the S3 and R6 systems. S3 is a great day-to-day R programming tool that simplifies some of the functions that you write. R6 is especially useful for industry-specific analyses, working with web APIs, and building GUIs.

What You’ll Learn

Introduction to Object-Oriented Programming

Learn what object-oriented programming (OOP) consists of, when to use it, and what OOP systems are available in R. You’ll also learn how R identifies different types of variable, using classes, types, and modes.

Using R6

Learn how to define R6 classes, and to create R6 objects. You’ll also learn about the structure of R6 classes, and how to separate the user interface from the implementation details.

Advanced R6 Usage

Complete your mastery of R6 by learning about advanced topics such as copying by reference, shared fields, cloning objects, and finalizing objects.

Using S3

S3 is a very simple object-oriented system that lets you define different behavior for functions, depending upon their input argument. This chapter explains how to use S3, and how generics and methods work.

R6 Inheritance

Learn how to inherit from an R6 class, and how the relationship between parent and child classes works.

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Object-Oriented Programming with S3 and R6 in R”

×

    Your Email (required)

    Report this page
    Object-Oriented Programming with S3 and R6 in R
    Object-Oriented Programming with S3 and R6 in R
    LiveTalent.org
    Logo
    LiveTalent.org
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.