Description Usage Arguments Value Author(s) Examples
Converts a vector of ages (class 'numeric') to calendar years and fractions of year. The function needs dates of births.
1 | age_as_year(x,born,format.born)
|
x |
vector of ages |
born |
vector of dates of birth (class 'Date') |
format.born |
format of birth dates |
year |
Calendar year and fraction of year |
Frans Willekens
1 | age_as_year(23,"1990-10-30","%Y-%m-%d")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.