Description Usage Arguments Value Author(s) Examples
make.ISOyear()
creates a closure for speedily converting years to
POSIXct values. Initialise the closure with year values you know you will
need. Additional values will be added automatically.
1 | make.ISOyear(years = seq(from = 1900, to = 2200, by = 5))
|
years |
vector of year numbers to initialise closure with; defaults to 1900 to 2200 in five year steps |
function taking an integer year and returning a POSIXct value, based on July 2, 12am GMT as the middle of the year
Michaja Pehl
1 2 | ISOyear <- make.ISOyear()
ISOyear(c(2005, 2010, 2100, 1900))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.