Getting ready

Suppose you want to create a generic function alternative to summary() in R. The name of the function is robSum(). The default action will be just to check the class and produce a message whether the input object has a certain class or not. In the second stage, you will define a method for the new generic function.

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

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