The plot( ) Function

Margot Tollefson · Apress eBooks · 2021

The plot() function in R creates a graphic from objects of specific R classes. A figure resulting from a call to plot() can contain text, lines, points, and/or images, and the areas of the graphic can be filled by colors or patterns. The kind of graphic displayed depends on the class of the object(s) to be displayed. For example, a single time series (an object of class ts) gives a line plot that is plotted over time.

Read the paper · More papers on PaperTik