Choice_Set | R Documentation |
Collects a choice set exposed to individuals. Internal function that users should not call directly.
Choice_Set(df, num_id, uniq_id, idvar)
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). |
Returns a list containing the values required for calculation within the rmm_reshape
function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.