Learn R Programming

SMCRM (version 0.0-3)

customerRetentionTransactions: Transactions Data for Customer Retention (Chapter 4)

Description

Transactions Data for Customer Retention (Chapter 4)

Usage

customerRetentionTransactions

Arguments

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

Run this code
data(customerRetentionTransactions)
str(customerRetentionTransactions)

Run the code above in your browser using DataLab