Skip to main content

Classes of Objects

  • Chapter
  • First Online:
R Quick Syntax Reference
  • 2859 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 24.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics