Question: For problems 1 and 2 all work should be completed in R . Problem 3 can be typed ( using ? 2 T E x
For problems and all work should be completed in R Problem can be typed using or hand written and scanned as a pdf file. Your Rmd and Knitted PDF file should be titled last nameRmd and last namepdf or last nameapdf last namebpdf
For example, I would turn in sarverRmd and sarverpdf
The iris dataset is a popular dataset to use when learning machine learning. The iris dataset is built into
a Look at the "head" of the dataset to see what the variable are and what the data looks like.
b Display the scatterplot for all possible pairs of variables in the dataset.
c We would like to be able to distinguish between the different species, To do this we can color our data based on the species. use colcblue red", "green"iris$Species within your plot to help distinguish the animals.
d Now we would like to change the shape of the points to make then stand out. Include pch iris$Species in your plot.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
