O'Reilly logo

Mastering RStudio – Develop, Communicate, and Collaborate with R by Maximilian H. Nierhoff, Julian Hillebrand

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The R graphics package—base

The inbuilt R graphics package, better known as the base plotting system, is the first address to start building a plot as it is the default method for plotting data. The graphics package, which provides the base plotting functions and the grDevices package, which includes the code to call the different system devices, are basically building the base plotting system.

The plot creation process can be divided into two phases.

  1. The initialization of a new plot.
  2. The extension of an existing plot.

The function, plot(), calls a graphic device and draws the data as a plot to the device. This plot function includes several basic graph types along with many arguments to annotate the plot. Furthermore, by using a very large number ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required