GetEmpirical: GetEmpirical

View source: R/analyze.R

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

brentkaplan/beezdemand documentation built on Aug. 29, 2023, 12:33 p.m.