Description Usage Arguments Value Examples
View source: R/decimal-dates.r
Converts a date to a decimal of its year
1 |
date |
a POSIXt or Date object |
a numeric object where the date is expressed as a fraction of its year
1 2 | date <- ymd("2009-02-10")
decimal_date(date) # 2009.11
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.