In this section, we will focus on exploring the dataset graphically using a DOE scatter plot, a DOE mean plot, a DOE standard deviation plot, and a contour plot. Let's focus on each of them in turn:
- In this step, we will depict the scatter plot in two ways. A scatter plot shows the relationship between wt and mpg as follows:
> plot(Autompg$weight , Autompg$mpg, xlab = 'Weight of Cars', ylab = 'Miles per Gallon', main = 'Scatter Plot for MTCars Weight Vs MPG')
This gives us the following output plot:
The alternative way to depict the scatter plot is with the help of the ggplot2 package or library, which ...