age_unit.Rd
This function assumes that the input age is between 5 and 21 years.
age_unit(age)
Numeric value representing the age.
A character string indicating the age unit (days, weeks, months, or years).
age_unit(365) # Returns "days" #> [1] "months" age_unit(10*365) # Returns "years" #> [1] "days"