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. The Arguments of plot( )
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.