Description Usage Arguments Value Author(s) Examples
Converts vector of calendar years and fractions of year to object of class 'Date'.
1 | year_as_Date (x,format.out)
|
x |
Calendar year and fraction of year, e.g. 2012.448 |
format.out |
Format of date |
date as object of class Date: days since 1-1-1970 and printed as date in Gregorian calendar, e.g. "1946-03-01"
Frans Willekens
1 2 3 | # d=1946.167, which is March 1,1946
year_as_Date (x=1946.167,format.out='%d-%m-%Y')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.