days_off_var: Create a new binary variable based on the dates of days off...

Description Usage Arguments Value

View source: R/gbm_baseline.R

Description

days_off_var This function create a new binary variable that correspond to the dates of days off, which holidays or days when the building is not occupied.

Usage

1
days_off_var(days_off_path, Data)

Arguments

days_off_path

The path of the file from which the date data of days off (e.g., holidays) are to be read.

Data

A dataframe of training or prediction data.

Value

A dataframe of training or prediction data including the new varable that correspond to the days off.


samirtouzani/GBMbaseline documentation built on May 29, 2019, 1:02 p.m.