Book Image

R for Data Science

By : Dan Toomey
Book Image

R for Data Science

By: Dan Toomey

Overview of this book

Table of Contents (19 chapters)

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 intervals

  • ggplot2: This has a large number of graphical features

  • gpclib: This is used for polygon clipping

  • hexbin: This is used for bivariate data manipulation

  • latticist: This is an interface between R and the Latticist program

  • mapdata: This has data that can be added directly to maps

  • maps: This contains maps of various geographical areas

  • maptools: This has the access mechanisms to use the maps

  • playwith: This contains the interface between R and other programs, such as GTK+

  • RColorBrewer: This is used for map shading

  • RgoogleMaps: 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...