getCurrentAge: Age in years using the provided birthdate.

View source: R/getCurrentAge.R

getCurrentAgeR 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"))

rmsharp/nprcmanager documentation built on Feb. 2, 2025, 12:45 a.m.