Question: 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
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
