dc.MakeRFmatrixHoldout: Make Holdout Period Recency-Frequency Matrix

Description Usage Arguments Value

View source: R/dc.R

Description

Creates a recency-frequency matrix for the holdout period.

Usage

1

Arguments

holdout.cbt

holdout period frequency customer-by-time matrix. This is a matrix consisting of a row per customer and a column per time period. It should contain the number of transactions each customer made per time period.

Value

recency-frequency matrix for the holdout period, with three columns: frequency ("x.star"), recency ("t.x.star"), number of transaction opportunities in the holdout period ("n.star"), and the number of customers with each frequency-recency combination ("custs").


BTYD documentation built on Nov. 18, 2021, 1:10 a.m.