1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Manipulating Time Series Data in R

Connected

अभ्यास

Rolling minimum

The zoo package has several rolling window functions for common summary statistics like mean, median, sum, etc. However, not all statistics have a rolling function, so an important skill is to be able to apply any given function to a rolling window!

In this exercise, you'll apply a function to a rolling window generated from the daily_temp time series.

निर्देश

100 XP
  • Create a 30-day, right-aligned rolling minimum of the daily_temp time series and assign it to temp_roll_min.