Classes of Objects

  • Margot Tollefson


In R, objects belong to classes as well as modes and types. Classes tell something about how an object is structured. S3 and S4 differ with regard to classes. In S3, there are specific classes into which an R objects falls. In S4, the user defines a class for an S4 object. Classes in S3 are called informal classes, whereas classes in S4 are called formal classes. This chapter covers only S3 classes.


Atomic Mode Data Frame Original Object Mode List Warning Message 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Margot Tollefson 2014

Authors and Affiliations

  • Margot Tollefson
    • 1
  1. 1.IAUS

Personalised recommendations