CHAPTER 11

image

Descriptive Functions and Manipulating Objects

For arrays, matrices, vectors, lists, and expressions, there are a number of functions that describe various attributes of an object. Also, there are a number of functions that manipulate objects to create new objects. The functions covered in this chapter are the descriptive functions dim(), nrow(), NROW(), ncol(), NCOL(), length(), and nchar(); and the functions that manipulate objects: cbind() and rbind(); the apply functions; sweep(), scale(), and aggregate(); the table functions; and functions tabulate(), and ftable().

Descriptive Functions

The descriptive functions describe qualities ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.