View source: R/calculation_definitions.R
calc_age | R Documentation |
Create an interval between the date of birth and the enrollment date;
calc_age(birthDate, refDate = Sys.Date())
refDate |
reference date(s) |
birthdate |
vector of dates |
period(s) (in years)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.