Converts a date to a decimal of its year.
a POSIXt or Date object
a numeric object where the date is expressed as a fraction of its year
date <- ymd("2009-02-10")
decimal_date(date) # 2009.11
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.