Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Margot Tollefson
About this chapter
Cite this chapter
Tollefson, M. (2014). Classes of Objects. In: R Quick Syntax Reference. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6641-9_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6641-9_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6640-2
Online ISBN: 978-1-4302-6641-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)