age.Rd
Calculates age in years based on a reference date, which is the sytem time at default.
age(x, reference = Sys.Date())
x | date(s), will be coerced with |
---|---|
reference | reference date(s) (defaults to today), will be coerced with |
Integer (no decimals)
age_groups
to splits age into groups