Choice_Set: Collects a choice set exposed to individuals.

View source: R/RcppExports.R

Choice_SetR Documentation

Collects a choice set exposed to individuals.

Description

Collects a choice set exposed to individuals. Internal function that users should not call directly.

Usage

Choice_Set(df, num_id, uniq_id, idvar)

Arguments

df

a long format tibble.

num_id

Number of unique Booking_IDs appearing in transaction data

uniq_id

Unique Booking_ID in transaction data.

idvar

Variable name representing customer id (Booking_ID).

Value

Returns a list containing the values required for calculation within the rmm_reshape function.


RMM documentation built on May 9, 2022, 5:08 p.m.

Related to Choice_Set in RMM...