Question: Use R to install taylor dataset by entering in the command window: install.packages(forecast) library(forecast) taylor This gives you the taylor dataset 3. taylor is a

Use R to install taylor dataset by entering in the command window:

install.packages("forecast")

library(forecast)

taylor

This gives you the taylor dataset  Use R to install taylor dataset by entering in the command

3. taylor is a dataset in the package for ecast (a) 2 points)Write a function seasonIQR (s) to return the IQR (inter-quartile range, i.e., 75th percentile - 25th percentile) of a given season. The argument s is a season number between 1 and 12. Test your function using seasonIQR(9) b) (4 points) In fact for the taylor dataset, the season is week and the period is day. Write a func- tion weeklySummary(w) where w is the week number between 1 and 12. The function will return two values: the first one is the average of the daily maximal values of the given week, and the second one is the average of the daily minimal values of the given week. Test your function using weeklySummary (1)

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!