yearfrac | R Documentation |
Computes the time difference between date1
and date2
in
fractional year terms. This is equivalent to the YEARFRAC() method from
Excel, with the parameter "Actual/Actual"
yearfrac(date1, date2)
date1 |
the first date |
date2 |
the second date |
fractional years between date1
and date2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.