Question
Please use R to answer the following questions. Include comments so I can follow along and learn more easily library(tidyverse) data(storms) storms %>% glimpse() Q1.
Please use R to answer the following questions. Include comments so I can follow along and learn more easily
library(tidyverse)
data(storms)
storms %>% glimpse()
Q1. When and where (in latitude and longitude) did Hurricane Sandy start, according to the dataset?
Q2. During Hurricane Sandy, what was the maximum wind speed (in knots), and when did the wind speeds peak?
Q3. Which year has the most storms? (Hints: chain group_by with summarize(n = n_distinct(name)))
Q4. Which storm has the highest average wind speed? (Hint: storm name can be reused, so group by name, year)
Q5. What are the top 3 hurricanes in terms of the average area of impact (i.e., average hu_diameter)? (Hint: make sure you filter storms that are hurricanes)
In your submission, you must:
Use dplyr to find the answers.
Use complete sentences to describe your answers.
Comment on your code if necessary.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started