コース
R における S3 と R6 を使ったオブジェクト指向プログラミング
上級スキルレベル
更新日 2024/08RProgramming4時間17 ビデオ55 演習4,200 XP23,258達成証明書
数千の企業の学習者に愛されています
2名以上のトレーニングをお考えですか?
DataCamp for Businessを試すコース説明
前提条件
Introduction to Writing Functions in R1
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.
2
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.
3
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.
4
R6 Inheritance
Learn how to inherit from an R6 class, and how the relationship between parent and child classes works.
5
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.
R における S3 と R6 を使ったオブジェクト指向プログラミング
コース完了 19百万人を超える学習者と一緒にR における S3 と R6 を使ったオブジェクト指向プログラミングを今日から始めましょう!
DataCamp for Mobileでデータスキルを磨きましょう
モバイル コースと毎日の 5 分間のコーディング チャレンジで、外出先でも進歩できます。