© Margot Tollefson 2021
M. TollefsonVisualizing Data in R 4https://doi.org/10.1007/978-1-4842-6831-5_3

3. The Arguments of plot( )

Margot Tollefson1  
(1)
Stratford, IA, USA
 

Many arguments can be used in plot(). In this chapter, we go over the arguments. The arguments are grouped by categories – arguments that affect overall appearance, the appearance of lines and points, and details. We look at the effects on the appearance of graphics by using examples, with data from an R dataset. In this chapter, the function plot.default(), which plots scatterplots, is used for the examples. While most of the arguments in this chapter can be used in all or most versions of plot(), a few are specific to plot.default().

3.1 The Dataset

In this section, we work with ...

Get Visualizing Data in R 4: Graphics Using the base, graphics, stats, and ggplot2 Packages 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.