GetEmpirical {beezdemand} | R Documentation |
GetEmpirical
Description
Calculates empirical measures for purchase task data
Usage
GetEmpirical(dat, xcol = "x", ycol = "y", idcol = "id")
Arguments
dat |
data frame (long form) of purchase task data. |
xcol |
The column name that should be treated as "x" data |
ycol |
The column name that should be treated as "y" data |
idcol |
The column name that should be treated as dataset identifier |
Details
Will calculate and return the following empirical measures: Intensity, BP0, BP1, Omax, and Pmax
Value
Data frame of empirical measures
Author(s)
Brent Kaplan <bkaplan.ku@gmail.com>
Examples
## Obtain empirical measures
GetEmpirical(apt)
[Package beezdemand version 0.1.2 Index]