getRetirementCalendar | R Documentation |
Calculate the annual retirement path. SmarP assumes that the user will get retired the day that turns 65 or its desired retirement age. For the current year, if birthday is later than the calculation day, there will be 2 dates.
getRetirementCalendar(birthday, givenday = today("UTC"), RetirementAge = 65)
birthday |
Date of birth ("YYYY-MM-DD"). |
givenday |
Date at which the age is computed ("YYYY-MM-DD"). |
RetirementAge |
Age of retirement. |
Retirement calendar.
## Not run: getRetirementCalendar("1981-08-12") getRetirementCalendar("1981-08-12", as.Date("2018-12-02"), RetirementAge = 62) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.