Description Usage Arguments Examples
Reduce a Timestamp to a certain Information
1 2 3 4 5 6 7 8 9 10 11 |
tstamp |
(vector of) timestamp(s) of type POSXIXt |
resetYear |
logical. If |
resetMonth |
logical. If |
resetDay |
logical. If |
resetTime |
logical. Used as default for |
resetHour |
logical. If |
resetMin |
logical. If |
resetSec |
logical. If |
... |
further arguments to be passed to hsToPosix |
1 2 3 4 | resetTimePart(as.POSIXct("2017-11-04 16:18:44"), resetTime = TRUE)
# Reset year, month and day
resetTimePart(as.POSIXct("2017-11-04 16:18:44"), TRUE, TRUE, TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.