powered by
Gets decimal month values for date/time vectors.
dtt_month_decimal(x, ...)# S3 method for Date dtt_month_decimal(x, ...)# S3 method for POSIXct dtt_month_decimal(x, ...)
# S3 method for Date dtt_month_decimal(x, ...)
# S3 method for POSIXct dtt_month_decimal(x, ...)
A numeric vector.
A date/time vector.
Unused.
dtt_month_decimal(Date): Get numeric vector of decimal year values for a Date vector
dtt_month_decimal(Date)
dtt_month_decimal(POSIXct): Get numeric vector of decimal year values for a POSIXct vector
dtt_month_decimal(POSIXct)
dtt_month()
Other decimal: dtt_day_decimal(), dtt_doy_decimal(), dtt_hour_decimal(), dtt_minute_decimal(), dtt_year_decimal()
dtt_day_decimal()
dtt_doy_decimal()
dtt_hour_decimal()
dtt_minute_decimal()
dtt_year_decimal()
x <- as.POSIXct("1990-01-03 10:00:01") dtt_month_decimal(x)
Run the code above in your browser using DataLab