Description Usage Arguments Value Examples
View source: R/miscellaneous.R
Find the number of years between two dates
1 | year_diff(d1, d2)
|
d1 |
first date in character form. Must be in mdy form for lubridate |
d2 |
second date in character form. Must be in mdy form for lubridate |
number of years between d1
and d2
1 | year_diff("9/13/1990", "12/5/2014")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.