age.Rd
Calculates age in years based on a reference date, which is the sytem date 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)
On our website https://msberends.gitlab.io/AMR you can find a omprehensive tutorial about how to conduct AMR analysis and find the complete documentation of all functions, which reads a lot easier than in R.
age_groups
to split age into age groups