Description Usage Arguments Value Author(s) Examples
Converts a vector of decimal years to ages. The function requires birth dates.
1 | year_as_age (x,born,format.born)
|
x |
Vector of decimal years. |
born |
Vector of dates of birth. Class is 'Date' |
format.born |
format of dates of birth. |
age
Frans Willekens
1 2 | year_as_age (2010.578,"1990-10-30","%Y-%m-%d")
# result: 19.7506
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.