powered by
Test whether a date time vector is floored.
dtt_floored(x, ...)# S3 method for Date dtt_floored(x, units = "days", ...)# S3 method for POSIXct dtt_floored(x, units = "seconds", ...)# S3 method for hms dtt_floored(x, units = "seconds", ...)
# S3 method for Date dtt_floored(x, units = "days", ...)
# S3 method for POSIXct dtt_floored(x, units = "seconds", ...)
# S3 method for hms dtt_floored(x, units = "seconds", ...)
A flag indicating whether floored.
A Date, POSIXct or hms vector.
Unused.
A string of the time units. The possible values are "secs", "minutes", "hours", "days" or "weeks".
Date: Test if Date vector is floored
Date
POSIXct: Test if POSIXct vector is floored
POSIXct
hms: Test if hms vector is floored
hms
Other floor: dtt_date_time(), dtt_date(), dtt_floor(), dtt_set_time()
dtt_date_time()
dtt_date()
dtt_floor()
dtt_set_time()
dtt_floored(as.Date("2002-02-01"))
Run the code above in your browser using DataLab