rfm_score | R Documentation |
Recently, Frequency, Monetary score
rfm_score( data, .id_col, .time_col, .m_col = NULL, cur_time = Sys.time(), scale = 4 )
data |
Input data |
.id_col |
Variable to identify entities (maybe customer ID) |
.time_col |
Time correspond to id_col. Must be in date or date-time format |
.m_col |
Column to compute monetary score, default to not compute |
cur_time |
reference time to compute Recently metrics |
scale |
maximum score of each metrics |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.