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