Kinds of Objects

Part II covers the different kinds of objects that are used in R in terms of their two important qualities: mode and class.

Chapter 4 lists the modes and describes the common ones. In addition to listing all of the modes current in R, the chapter describes the properties of the atomic modes—NULL, raw, logical, numeric, complex, and character—and of the nonatomic modes list, function, call, name, and expression.

Chapter 5 introduces the classes and gives the properties of several of them. The chapter includes a special section on vectors, which are not a class but, a very common kind of object. The classes associated with ...

Get R Quick Syntax Reference now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.