calc_age | R Documentation |
Proper calculation of age in years
calc_age(from, to)
from |
Vector of dates or characters ("YYYY-MM-DD") of indeterminate length. vector of length 1. |
to |
Vector of dates or characters ("YYYY-MM-DD") of indeterminate length. vector of length 1. |
Character vector of available datasets.
calc_age(from = "2000-02-29", to = "2021-07-01")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.