add_year | R Documentation |
add_year(input_date, num_years = 1)
num_years |
(numeric or integer): Number of years to be added to the given date. It can be a negative number. |
(character): date pointing to the same day and month of the input date with years added
add_year('2012-06-11', 3) [1] "2015-06-11" add_month('2010-03-12', -6) [1] "2004-03-12"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.