powered by
Create a formattable POSIXlt vector
# S3 method for POSIXlt formattable( x, ..., formatter = "format.POSIXlt", preproc = NULL, postproc = NULL )
a vector of class POSIXlt.
POSIXlt
arguments to be passed to formatter.
formatter
formatting function, format.POSIXlt in default.
format.POSIXlt
pre-processor function that prepares x for formatting function.
x
post-processor function that transforms formatted output for printing.
a formattable POSIXlt vector
formattable
# NOT RUN { times <- as.POSIXlt("2015-04-10 09:30:15") + 1:5 ftimes <- formattable(times, format = "%Y%m%dT%H%M%S") ftimes ftimes + 30 # }
Run the code above in your browser using DataLab