The function helps calculating the age of person at the eventdate

calc_age(eventdate, birthdate, accuracy = "years")

Arguments

eventdate

lubridate date when the age is needed

birthdate

lubridate date of person's birthdate

Value

See also