We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Firefox.

Exercise: Check for leap year

  1. Load the lubridate package.
  2. Use the leap_year function to check if 2020 is leap year or not. (Hint: the function takes the year in the form of a number as the first parameter date )
Results

Submit code to see output here.