View source: R/getCurrentAge.R
getCurrentAge | R Documentation |
Assumes current date for calculating age.
getCurrentAge(birth)
birth |
birth date(s) |
Age in years using the provided birthdate.
library(nprcgenekeepr)
age <- getCurrentAge(birth = as.Date("06/02/2000", format = "%m/%d/%Y"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.