getCurrentAge: Age in years using the provided birthdate.

Description Usage Arguments Value Examples

View source: R/getCurrentAge.R

Description

Assumes current date for calculating age.

Usage

1

Arguments

birth

birth date(s)

Value

Age in years using the provided birthdate.

Examples

1
2
library(nprcgenekeepr)
age <- getCurrentAge(birth = as.Date("06/02/2000", format = "%m/%d/%Y"))

rmsharp/nprcmanager documentation built on April 24, 2021, 3:13 p.m.