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

Description Usage Arguments Value

View source: R/utils.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 pre or post-installation data.

Value

A dataframe of pre or post-installation data including the new variable that correspond to the days off.


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