powered by
Gets and sets minute values for date/time vectors.
dtt_minutes(x, ...)dtt_minutes(x) <- valuedtt_minute(x, ...)dtt_minute(x) <- value# S3 method for Date dtt_minute(x, ...)# S3 method for POSIXct dtt_minute(x, ...)# S3 method for hms dtt_minute(x, ...)# S3 method for POSIXct dtt_minute(x) <- value# S3 method for hms dtt_minute(x) <- valuedtt_set_minute(x, value)
dtt_minutes(x) <- value
dtt_minute(x, ...)
dtt_minute(x) <- value
# S3 method for Date dtt_minute(x, ...)
# S3 method for POSIXct dtt_minute(x, ...)
# S3 method for hms dtt_minute(x, ...)
# S3 method for POSIXct dtt_minute(x) <- value
# S3 method for hms dtt_minute(x) <- value
dtt_set_minute(x, value)
An integer vector (or the modified date/time vector).
A date/time vector.
Unused.
A integer vector of the minute value(s).
dtt_minute(Date): Get integer vector of minute values for a Date vector
dtt_minute(Date)
dtt_minute(POSIXct): Get integer vector of minute values for a POSIXct vector
dtt_minute(POSIXct)
dtt_minute(hms): Get integer vector of minute values for a hms vector
dtt_minute(hms)
dtt_minute(POSIXct) <- value: Set minute values for a POSIXct vector
dtt_minute(POSIXct) <- value
dtt_minute(hms) <- value: Set minute values for a hms vector
dtt_minute(hms) <- value
dtt_minute_decimal()
Other set time: dtt_hours(), dtt_seconds()
dtt_hours()
dtt_seconds()
x <- as.POSIXct("1990-01-02 23:40:51") dtt_minute(x) dtt_minute(x) <- 27L x x <- hms::as_hms("23:40:51") dtt_minute(x) dtt_minute(x) <- 27L x
Run the code above in your browser using DataLab