Description Usage Arguments Value Examples
Create a formattable POSIXlt vector
1 2 3 4 5 6 7 8 | ## S3 method for class 'POSIXlt'
formattable(
x,
...,
formatter = "format.POSIXlt",
preproc = NULL,
postproc = NULL
)
|
x |
a vector of class |
... |
arguments to be passed to |
formatter |
formatting function, |
preproc |
pre-processor function that prepares |
postproc |
post-processor function that transforms formatted output for printing. |
a formattable
POSIXlt vector
1 2 3 4 | times <- as.POSIXlt("2015-04-10 09:30:15") + 1:5
ftimes <- formattable(times, format = "%Y%m%dT%H%M%S")
ftimes
ftimes + 30
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.