# Chapter 2 Pac-Man Plot

## 2.2 Usage

The function is setup to implement an arbitrary regression model and supports residual standardization. As we have discussed above,

pac.plot(
x,y,
title,
c(taxislabel, tunits),
c(raxislabel, runits),
color1 = "gold",
)

## 2.3 Examples

For the following examples, the domain and range that will be processed by the function will be:

data("cars")
x <- cars$dist y <- cars$speed

pac.plot(cars$speed,cars$dist, 'Example 1', c("Distance", "m"), c("Speed", "m/s"))