| dtt_floored | R Documentation |
Test whether a date time vector is floored.
dtt_floored(x, ...)
## S3 method for class 'Date'
dtt_floored(x, units = "days", ...)
## S3 method for class 'POSIXct'
dtt_floored(x, units = "seconds", ...)
## S3 method for class 'hms'
dtt_floored(x, units = "seconds", ...)
x |
A Date, POSIXct or hms vector. |
... |
Unused. |
units |
A string of the time units. The possible values are "secs", "minutes", "hours", "days" or "weeks". |
A flag indicating whether floored.
dtt_floored(Date): Test if Date vector is floored
dtt_floored(POSIXct): Test if POSIXct vector is floored
dtt_floored(hms): Test if hms vector is floored
Other floor:
dtt_date(),
dtt_date_time(),
dtt_excel_to_date(),
dtt_floor(),
dtt_set_time()
dtt_floored(as.Date("2002-02-01"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.