time_features: Extract features from the time

Description Usage Arguments Value

View source: R/utils.R

Description

number_of_days This function computes the number of days for which data is available

Usage

1

Arguments

Data

A data frame that contains time column

Value

Data data frame that contains new columns corresponding to the extract time features:

dts

POSIXct object of the time stamps

month

the month of the time stamps

wday

the day of the week of the time stamps

hour

the hour of the time stamps

minute

the minute of the time stamps

tod

the time of the day of the time stamps

tow

the time of the week of the time stamps

date

the date of the time stamps

week

the week of the year of the time stamps

week_date

the date of the sunday of the time stamps week


LBNL-ETA/RMV2.0 documentation built on Nov. 9, 2020, 5:44 a.m.