Description Usage Arguments Value Examples
Calculates the difference between two dates and returns a numeric value (Age).
1 |
DoEvent |
a vector of class 'Date' |
DoBirth |
a vector of class 'Date' |
format |
unit in which the output should be returned. Options are |
Returns a numerical vector of the time difference between the two input vector Dates,
calculated as DoEvent - DoBirth
. Output can be given in units of years (default),
months or days, specified in format
.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.