Exploration using graphics

In this section, we will focus on exploring the dataset graphically using a scatter plot, 6-plot, linear correlation plot, linear intercept plot, linear slope plot, and linear residual standard deviation plot.

We will implement the following steps to begin exploration of the data using a graphical structure:

  1. This step is intended to depict the scatter plot in two ways. The following scatter plot shows the relationship between the refractive index and the sodium content of glass types:
> plot(GlassDataset$Na , GlassDataset$RI, xlab = 'Sodium Content', ylab = 'Refractive Index', main = 'Scatter plot for sodium content')

This gives us the following output plot:

  1. The other way to depict the scatter plot is with the ...

Get Hands-On Exploratory Data Analysis with R 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.