Description Usage Arguments Details Value
Calculate the weighted RFM Score: recency, frequency, monetary value for every customer
1 2 | RFM_Function(data, WeightRecency = 1/3, WeightFrequency = 1/3,
WeightMonetary = 1/3)
|
data |
- A data.table containing the transaction records. |
WeightRecency |
- The weight for recency. |
WeightFrequency |
- The weight for frequency. |
WeightMonetary |
- The weight for monetary. |
data
contains the transactional data
Returns the score and group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.