RFM_Function: Calculate RFM

Description Usage Arguments Details Value

Description

Calculate the weighted RFM Score: recency, frequency, monetary value for every customer

Usage

1
2
RFM_Function(data, WeightRecency = 1/3, WeightFrequency = 1/3,
  WeightMonetary = 1/3)

Arguments

data

- A data.table containing the transaction records.

WeightRecency

- The weight for recency.

WeightFrequency

- The weight for frequency.

WeightMonetary

- The weight for monetary.

Details

data contains the transactional data

Value

Returns the score and group


SaschaKuenzle/Package_test documentation built on May 28, 2019, 2:44 p.m.