Description Usage Arguments Value Author(s) See Also Examples
calculates age in years, as durations or periods
1 |
from_date |
start date |
to_date |
end date |
period |
Calculating period (TRUE) or duration (FALSE- default) |
dec |
How many decimals are displayed |
Numeric vector
Antoine Fabri and Tjebo Heeren
OP on stackoverflow from which this function was inspired. Read about periods and durations
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.