This function uses as.Date and a simple linear transformation.
toDate(times)
| times | a vector of durations |
|---|
A vector of dates as character strings of the type "1897-05-21".
Göran Broström
##---- Should be DIRECTLY executable !! ---- ##-- ==> Define data, use random, ##-- or do help(data=index) for the standard data sets. toDate(1897.357)#> [1] "1897-05-10"