Time series practice problems
Instructions
You won’t hand in anything for this assignment, just try to complete these steps in class and show me the results.
- Save the Harvard Forest daily climate data file from the course website and move it into a working directory. The file is here.
- Import the Harvard Forest data into R.
- Convert the date column into a Date class.
- Check for discontinuities in the data. Focus on the daily max air temperature column (“airtmax”). Are there missing values? How many?
- Put the max air temperature data into a time-series object.
- Plot the time-series.