April 2018
Beginner
238 pages
7h 13m
English
We are visualizing the iris dataset, specifically looking for a relationship between petal length and sepal length.
We load the dataset and apply column names. We produce a summary to verify the data.
Then, we call upon the plot() command to produce a Scatter plot, a stepwise relationship plot between the two variables, and a histogram of the data points.
I think the stepwise plot is the most interesting as you can still see tight areas where changes keep the affected values in a small range.