Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: S4version
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (23 sloc) 0.44 kb
\title{Converts a date to a decimal of its year.}
\item{date}{a POSIXt or Date object}
a numeric object where the date is expressed as a
fraction of its year
Converts a date to a decimal of its year.
date <- ymd("2009-02-10")
decimal_date(date) # 2009.11
Jump to Line
Something went wrong with that request. Please try again.