GetK {beezdemand}R Documentation

Get K

Description

Calculates a k value by looking for the max/min consumption across entire dataset and adds .5 to that range

Usage

GetK(dat, mnrange = TRUE)

Arguments

dat

Dataframe (long form)

mnrange

Boolean for whether k should be calculated based on the mean range + .5

Details

Will look for maximum/minimum greater zero

Value

Numeric

Author(s)

Brent Kaplan <bkaplan.ku@gmail.com>

Examples

GetK(apt)

[Package beezdemand version 0.1.2 Index]