age_pension_age: Age of eligibility for the Age Pension
Description
Age of eligibility for the Age Pension
Usage
age_pension_age(when = Sys.Date(), sex = "male")
Arguments
when
Either a Date (or a character vector coercible to such) or a financial year,
when the age of eligibility of Age Pension is requested. Defaults to current date.
sex
A character vector the same length as when, containing strings "male" and "female
". May be abbreviated to "m" or "f" and is case-insensitive.
Value
A numeric vector, the age of eligiblity for the Age Pension for each when.