customerRetentionTransactions {SMCRM} | R Documentation |
Transactions Data for Customer Retention (Chapter 4)
Description
Transactions Data for Customer Retention (Chapter 4)
Usage
customerRetentionTransactions
Format
Data frame with the following 7 variables
customer
customer number (from 1 to 500)
quarter
quarter (from 1 to 12) where the transactions occurred
purchase
1 when the customer purchased in the given quarter and 0 if no purchase occurred in that quarter
order_quantity
dollar value of the purchases in the given quarter
crossby
number of different categories purchased in a given quarter
ret_expense
dollars spent on marketing efforts to try and retain that customer in the given quarter
ret_expense_sq
square of dollars spent on marketing efforts to try and retain that customer in the given quarter
Examples
data(customerRetentionTransactions)
str(customerRetentionTransactions)
[Package SMCRM version 0.0-3 Index]