Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For problems 1 and 2 all work should be completed in R . Problem 3 can be typed ( using ? 2 T E x

For problems 1 and 2 all work should be completed in R. Problem 3 can be typed (using ?2TEx) or hand written and scanned as a pdf file. Your Rmd and Knitted PDF file should be titled [last name]-2.Rmd and [last name]-2.pdf (or [last name]-2a.pdf [last name]-2b.pdf)
For example, I would turn in sarver-2.Rmd and sarver-2.pdf
The iris dataset is a popular dataset to use when learning machine learning. The iris dataset is built into R.
(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 col=c("blue"," 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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Semantics In Databases Second International Workshop Dagstuhl Castle Germany January 2001 Revised Papers Lncs 2582

Authors: Leopoldo Bertossi ,Gyula O.H. Katona ,Klaus-Dieter Schewe ,Bernhard Thalheim

2003rd Edition

3540009574, 978-3540009573

More Books

Students also viewed these Databases questions