Rdocumentation
powered by
Learn R Programming
BTYD (version 2.4)
dc.MakeRFmatrixSkeleton: Make Recency-Frequency Matrix Skeleton
Description
Creates a matrix with all possible recency and frequency combinations.
Usage
dc.MakeRFmatrixSkeleton(n.periods)
Arguments
n.periods
number of transaction opportunities in the calibration period.
Value
Matrix with two columns: frequency ("x") and recency ("t.x"). All possible recency-frequency combinations in the calibration period are represented.
Details
Makes the structure in which to input data for recency-frequency matrices.