Learn R Programming

SMCRM (version 0.0-3)

customerRetentionLifetimeDuration: Lifetime Duration Data for Customer Retention (Chapter 4)

Description

Lifetime Duration Data for Customer Retention (Chapter 4)

Usage

customerRetentionLifetimeDuration

Arguments

Format

Data frame with the following 8 variables
customer
customer number (from 1 to 500)
x
The number of transactions by a given customer over all time periods. Here we assume that it is the sum of the variable Purchase where customers at most made 1 purchase per quarter.
tx
time of the last transaction, i.e. the last quarter where purchase == 1
T
total time between the first purchase and the end of the observation window, i.e. 12 quarters for all customers

See Also

customerRetentionTransactions

Examples

Run this code
data(customerRetentionLifetimeDuration)
  str(customerRetentionLifetimeDuration)

Run the code above in your browser using DataLab