powered by
Assumes current date for calculating age.
getCurrentAge(birth)
Age in years using the provided birthdate.
birth date(s)
library(nprcgenekeepr) age <- getCurrentAge(birth = as.Date("06/02/2000", format = "%m/%d/%Y"))
Run the code above in your browser using DataLab