Question: Edit question Hi! could someone help me with these Rstudio lab problems plz? Thx! ## Problem 1 (Verzani problem 2.43) *The `time` variable in the

Edit question

Hi! could someone help me with these Rstudio lab problems plz? Thx!
## Problem 1 (Verzani problem 2.43) *The `time` variable in the `nym.2002` data set (**UsingR**) contains the time to finish the 2002 New York City Marathon for a random sample of the finishers.* 1. *What percent ran the race in under 3 hours?* ```{r} #your solution here ``` 2. *Given that the slower runners will have higher running times; cut off the highest 10%.The highest 25%* ```{r} # Your code here ``` 3. *Given that the faster runners will have lower running times, cut off the lowest 10%.* ```{r} # Your code here ``` ## Problem 2 (Verzani problem 4.1) *The data set `UScereal` (**MASS**) contains data on cereals sold in the United States in 1993. For this data set, answer the following questions using R (i.e. MUST answer questions using a code. Do not count by hand):* 1. *How many rows does the data frame have? Columns?* ```{r} # Your code here ``` 2. *How many different manufacturers are included?* ```{r} # Your code here ``` 3. *How many vitamin categories are included?* ```{r} # Your code here ``` 4. *How many cereals have a sugar level above 10?* ```{r} # Your code here ``` 5. *What is the mean calorie value for cereals with more than 5 grams of fat? Less than or equal to 5?* ```{r} # Your code here ``` 6. *What is the mean calorie value for cereals on the middle shelf (2)?* ```{r} # Your code here ``` ## Problem 3 *Create a data frame containing the data in the following table:* | First | Last | Age | |----------|-----------|-----| | Marcus | Holstein | 23 | | Samuel | Adams | 56 | | Gus | McPherson | 43 | | Margaret | Olsen | 41 | | Zim | Newbold | 95 | ```{r} # Your code here ```

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!