RSTUDIO How can I create a new variable that combines day andhour into one variable that is a fractional number of days for thefollowing data set? (attached)
Here is what I currently have:
mutate(storms, Ratio = (hour/day)) %>%
arrange(desc(Ratio))
“`
Solution