Rdocumentation
powered by
Learn R Programming
DDM (version 1.0-0)
yint2: get the time interval without having to specify so many arguments
Description
We accept dates, and fake them otherwise. Dates must be unique. Iterate over data if necessary for multiple intervals.
Usage
yint2(X)
Arguments
X
data.frame
with at least columns
$date1
and
$date2
, or
$year1
and
$year2
.
Value
an decimal year value of the time between two dates.