Skip to contents

Data on the purchase behavior of customers at a specific market. The dataset consists of customers who purchased one of five candy-bar brands in their previous visit to the market and records whether or not they make a purchase during this visit and, if so, which brand they purchase. The dataset is adapted from the full dataset that is referenced in the source citation.

Usage

brands

Format

brands

A data frame with 14,560 rows and 3 columns:

purchase

1 if customer makes a purchase, 0 otherwise

brand

Brand purchased (1 through 5), 0 if no purchase

last_brand

Brand purchased (1 through 5) during last visit