Packages
In R, there are several packages that provide the visualization functionality to the programmer. We will use the following packages in the examples of this chapter:
classIn
: This contains univariate class intervalsggplot2
: This has a large number of graphical featuresgpclib
: This is used for polygon clippinghexbin
: This is used for bivariate data manipulationlatticist
: This is an interface between R and the Latticist programmapdata
: This has data that can be added directly to mapsmaps
: This contains maps of various geographical areasmaptools
: This has the access mechanisms to use the mapsplaywith
: This contains the interface between R and other programs, such as GTK+RColorBrewer
: This is used for map shadingRgoogleMaps
: This contains the maps from Google for use in R
Interactive graphics
The R programming system interfaces with the GTK+ toolkit to allow the programmer to interactively modify a graphic. You can invoke the GTK+ toolkit using the playwith
function. The playwith...