current_age | R Documentation |
Returns the current age (integer) based on a date of birth. The fraction is truncated.
current_age(dob)
dob |
date of birth |
integer - age in years
dob<-as.Date("2000-01-01")
current_age(dob)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.