| getRfmTable | R Documentation | 
Get RFM values and scores
getRfmTable(customerData, transactionData, id, tData_visitDate,
  tData_revenue, cData_visitDate = NULL, recencyFloorDate = NULL,
  reportDate = NULL, bins = 5)
customerData | 
 tibble, customer unique records, must contain primary key.  | 
transactionData | 
 tibble, transaction records, must contain foreign key.  | 
id | 
 key name, should be found in both   | 
tData_visitDate | 
 field name of visit date column in   | 
tData_revenue | 
 field name of revenue column in   | 
cData_visitDate | 
 field name of last visit date in   | 
recencyFloorDate | 
 recency floor date for "did not come back" customers;
optional, default value is the oldest date of   | 
reportDate | 
 recency ceiling date; optional, default value is the newest date of   | 
bins | 
 bins for RFM scores; optional, default value is 5.  | 
A tibble containing RFM values, percentile rank, scores and z-score.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.