Learn R Programming

beezdemand (version 0.2.0)

cp: Example cross‐price dataset

Description

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

Usage

cp

Arguments

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