ABSTRACT

The functions that make up the grid graphics system are provided in an extension package called grid. The grid system is loaded into R as follows.

> library(grid)

In addition to the standard on-line documentation available via the help() function, grid provides both broader and more in-depth on-line documentation in a series of vignettes, which are available via the vignette() function.

The grid graphics system only provides low-level graphics functions. There are no high-level functions for producing complete plots. Section 6.1 briefly introduces the concepts underlying the grid system, but this only provides an indication of how to work with grid and some of the things that are possible. An effective direct use of grid functions requires a deeper understanding of the grid system (see later sections of this chapter and Chapter 7).