cp: Example cross‐price dataset

cpR Documentation

Example cross‐price dataset

Description

A small illustrative dataset of price (x) and consumption (y) target (target), and group (group).

Usage

cp

Format

A data frame with N rows and columns:

id

unique identifier

x

price of the alternative

y

consumption/demand

target

target (e.g., alone, own, alt)

group

e.g., drug or product


brentkaplan/beezdemand documentation built on June 11, 2025, 3:50 a.m.