TS | R Documentation |
adds c("POSIXt", "POSIXct")
to the beginning of the class
attribute of a numeric vector so that operations such as arithmetic
and printing treat it as a timestamp.
TS(x)
x |
numeric vector; should be seconds since the unix epoch (1 Jan 1970 GMT). |
structure(x, class=c("POSIXt", "POSIXct", class(x)))
John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.