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

4. Ancillary Functions for plot( )

Margot Tollefson1  
(1)
Stratford, IA, USA
 

There are functions in R that can be used to add to a plot once plot() has been run (or when plot() is run). Such functions can do things like add a regression line to a scatterplot or put text next to a point. In this chapter, those ancillary functions found in the graphics and stats packages are covered. The chapter is broken into four sections: the overall appearance, the functions assigning objects to locations, the functions that plot lines or line-like objects, and specialized functions.

There are a few arguments to plot.default() that were not covered in Chapter ...

Get Visualizing Data in R 4: Graphics Using the base, graphics, stats, and ggplot2 Packages now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.