Instructions

You won’t hand in anything for this assignment, just try to complete these steps in class and show me the results.

  1. Save the Harvard Forest daily climate data file from the course website and move it into a working directory. The file is here.
  2. Import the Harvard Forest data into R.
  3. Convert the date column into a Date class.
  4. Check for discontinuities in the data. Focus on the daily max air temperature column (“airtmax”). Are there missing values? How many?
  5. Put the max air temperature data into a time-series object.
  6. Plot the time-series.