Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CAN I PLEASE GET THE CORRECT R STUDIO CODE? Problem 1 Using the iris data frame, make a plot of that meets the following criteria:

CAN I PLEASE GET THE CORRECT R STUDIO CODE?
Problem 1
Using the iris data frame, make a plot of that meets the following criteria:
Plot the variables "sepal width" on the x-axis and "sepal length" on the y-axis.
Add different colors and shapes, of your choosing, to distinguish between the different species of iris.
Add a legend with a title to the top right corner of the plot and make sure the correct colors and shapes correspond to the species on the plot.
Add labels to the x and y axes and a plot title.
Problem 2
Using the quakes data frame, complete the following exercises:
(a) Are there outliers for the "magnitude" data measured? Support your answer with both a five number summary and boxplot of the data set. If there are outliers, are they outliers in the practical sense? Why or why not?
(b) Complete the following steps for creating a boxplot of the data:
Create and store a vector that breaks the "stations" data into categorical groups in increments of 25.
Create a single boxplot of multiple boxes of the "magnitude" data grouped by "stations" categorical groups to compare the differences in magnitude by station counts. Be sure to add axis labels, a title, and different colors!
CAN I PLEASE GET THE CORRECT R STUDIO CODE?
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

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago