codePeakPeriod: Add peak period to a data.table

View source: R/utilities.R

codePeakPeriodR Documentation

Add peak period to a data.table

Description

codePeakPeriod returns a dt with peakPeriod factor added. Assumes column hms exists and is in hms form

Usage

codePeakPeriod(dt)

Arguments

dt

the data table

Author(s)

Ben Anderson, b.anderson@soton.ac.uk


CfSOtago/GREENGridEECA documentation built on May 1, 2022, 8:08 p.m.