Defining a new S3 class

In OOP, the class and method play an important role. The behavior of a generic function depends on the class and the methods dispatched on it. In this recipe, you will create a new S3 class for an object in R.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset