Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi! could someone help me with these Rstudio lab problems plz? Thx! ## Problem 1 (Verzani problem 5.1) *For the `UScereal` (**MASS**) data set, create

Hi! could someone help me with these Rstudio lab problems plz? Thx!
## Problem 1 (Verzani problem 5.1) *For the `UScereal` (**MASS**) data set, create a scatter plot of `calories` modeled by `sugars` using the `shelf` variable to create different plot characters. Add a legend to indicate the shelf number. Is there any patterns? (Use base R plotting for this problem.)* ```{r, tidy=TRUE, error=TRUE} # Your code here ``` ## Problem 2 (Verzani problem 5.3) *For the data set `UScereal` (**MASS**) make a pairs plot of the numeric variables. Which correlation looks larger: fat and calories or fat and sugars?* ```{r, tidy=TRUE, error=TRUE} # Your code here ``` ## Problem 3 (Verzani problem 5.4) *For the data set `batting` (**UsingR**) make a bubble plot of home runs hit (`HR`) modeled by hits (`H`) where the scale factor for each point is given by `sqrt(SO)/10`. Is there any story to be told by the size of the points? (You must use base R plotting for this problem.)* ```{r, tidy=TRUE, error=TRUE} # Your code here ```

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

Learning PostgreSQL

Authors: Salahaldin Juba, Achim Vannahme, Andrey Volkov

1st Edition

178398919X, 9781783989195

More Books

Students also viewed these Databases questions

Question

4. What will the team agreement contain?

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago