Skip to content
This repository
tree: 91bd4ee969
Fetching contributors…

Cannot retrieve contributors at this time

file 23 lines (23 sloc) 0.44 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
\name{decimal_date}
\alias{decimal_date}
\title{Converts a date to a decimal of its year.}
\usage{
  decimal_date(date)
}
\arguments{
  \item{date}{a POSIXt or Date object}
}
\value{
  a numeric object where the date is expressed as a
  fraction of its year
}
\description{
  Converts a date to a decimal of its year.
}
\examples{
date <- ymd("2009-02-10")
decimal_date(date) # 2009.11
}
\keyword{chron}
\keyword{manip}
\keyword{methods}
Something went wrong with that request. Please try again.