Choice_Set {RMM} | R 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.
[Package RMM version 0.1.0 Index]