Description Usage Arguments Value Author(s) Examples
View source: R/daily2fraction-method.R
Utility to convert from daily Date (R's Date object) to fraction.
1 |
d |
array of Date object, or string in ISO |
numeric, year in fraction convention
Stephen H. Lihn
1 2 3 | daily2fraction(as.Date("2017-01-15")) # 2017.038
daily2fraction(as.Date("2017-02-14")) # 2017.122
daily2fraction(as.Date("2017-07-15")) # 2017.538
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.