formattable.POSIXlt: Create a formattable POSIXlt vector

Description Usage Arguments Value Examples

Description

Create a formattable POSIXlt vector

Usage

1
2
3
## S3 method for class 'POSIXlt'
formattable(x, ..., formatter = "format.POSIXlt",
  preproc = NULL, postproc = NULL)

Arguments

x

a vector of class POSIXlt.

...

arguments to be passed to formatter.

formatter

formatting function, format.POSIXlt in default.

preproc

pre-processor function that prepares x for formatting function.

postproc

post-processor function that transforms formatted output for printing.

Value

a formattable POSIXlt vector

Examples

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


Search within the formattable package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.