Examples for 'lubridate::decimal_date'


Converts a date to a decimal of its year

Aliases: decimal_date

Keywords: chron manip methods

### ** Examples

date <- ymd("2009-02-10")
decimal_date(date)  # 2009.11
[1] 2009.11

[Package lubridate version 1.8.0 Index]