, , , , .
, 2014-201-201 2 , , 4, 2016 366 . , , - , , ( , ).
( , ), , %/% %/%.
, .
data.frame(i = interval(ymd(20140101), ymd(20160101)))$i %/% years(1)
Note: method with signature āTimespan
target signature āInterval
"Interval#ANY", "ANY#Period" would also be valid
[1] 2
data.frame(i = interval(ymd(20140101), ymd(20160101)))$i %/% years(1)
[1] 2
, . .