getCurrentAge {nprcgenekeepr} | R Documentation |
Age in years using the provided birthdate.
Description
Assumes current date for calculating age.
Usage
getCurrentAge(birth)
Arguments
birth |
birth date(s) |
Value
Age in years using the provided birthdate.
Examples
library(nprcgenekeepr)
age <- getCurrentAge(birth = as.Date("06/02/2000", format = "%m/%d/%Y"))
[Package nprcgenekeepr version 1.0.7 Index]