View source: R/calculation_definitions.R
add_age | R Documentation |
Adds an interval (years) to a birthDate
add_age(birthDate, age, by = "year")
age |
numeric |
by |
default is "year", but can be, for example "-1 month" |
birthdate |
vector of dates |
vector of dates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.