GetK: Get K

View source: R/analyze.R

GetKR 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)

beezdemand documentation built on Aug. 27, 2023, 1:06 a.m.