dc.MakeRFmatrixSkeleton: Make Recency-Frequency Matrix Skeleton

Description Usage Arguments Details Value

View source: R/dc.R

Description

Creates a matrix with all possible recency and frequency combinations.

Usage

1

Arguments

n.periods

number of transaction opportunities in the calibration period.

Details

Makes the structure in which to input data for recency-frequency matrices.

Value

Matrix with two columns: frequency ("x") and recency ("t.x"). All possible recency-frequency combinations in the calibration period are represented.


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