dtt_set_time | R Documentation |
Coerces vectors to floored (and wrapped) hms vectors.
dtt_set_time(x, value)
dtt_time(x, ...)
dtt_time(x) <- value
## S3 method for class 'integer'
dtt_time(x, ...)
## S3 method for class 'double'
dtt_time(x, ...)
## S3 method for class 'character'
dtt_time(x, ...)
## S3 method for class 'Date'
dtt_time(x, ...)
## S3 method for class 'hms'
dtt_time(x, ...)
## S3 method for class 'POSIXct'
dtt_time(x, ...)
## S3 method for class 'POSIXlt'
dtt_time(x, ...)
## S3 replacement method for class 'Date'
dtt_time(x) <- value
## S3 replacement method for class 'POSIXct'
dtt_time(x) <- value
x |
A vector. |
value |
A time vector. |
... |
Unused. |
A floored hms vector.
dtt_time(integer)
: Coerce integer vector to a floored hms vector
dtt_time(double)
: Coerce double vector to a floored hms vector
dtt_time(character)
: Coerce character vector to a floored hms vector
dtt_time(Date)
: Coerce Date vector to a floored hms vector
dtt_time(hms)
: Coerce hms vector to a floored hms vector
dtt_time(POSIXct)
: Coerce POSIXct vector to a floored hms vector
dtt_time(POSIXlt)
: Coerce POSIXlt vector to a floored hms vector
dtt_time(Date) <- value
: Set time values for a Date vector
dtt_time(POSIXct) <- value
: Set time values for a POSIXct vector
Other floor:
dtt_date()
,
dtt_date_time()
,
dtt_excel_to_date()
,
dtt_floor()
,
dtt_floored()
dtt_time(1L)
dtt_time(1.999)
dtt_time(-0.001)
dtt_time(Sys.Date())
dtt_time(as.POSIXct("2001-01-01 02:30:40"))
dtt_time(as.POSIXct("2001-01-01 02:30:40", tz = "Etc/GMT-8"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.