Plots the actual and expected incremental total repeat transactions by all customers for the calibration and holdout periods, and returns this comparison in a matrix.
bgcnbd.PlotTrackingInc(params, T.cal, T.tot, actual.inc.tracking.data,
xlab = "Week", ylab = "Transactions", xticklab = NULL,
title = "Tracking Weekly Transactions", ymax = NULL,
dropout_at_zero = FALSE)BG/CNBD-k parameters - a vector with k, r, alpha, a and b
in that order.
a vector to represent customers' calibration period lengths (in other words, the "T.cal" column from a customer-by-sufficient-statistic matrix).
end of holdout period. Must be a single value, not a vector.
descriptive label for the x axis.
descriptive label for the y axis.
vector containing a label for each tick mark on the x axis.
title placed on the top-center of the plot.
upper boundary for y axis.
Boolean; the mbg-methods are simple wrapper methods, which set this parameter to TRUE
vector containing the cumulative number of repeat transactions made by customers for each period in the total time period (both calibration and holdout periods).
Matrix containing actual and expected incremental repeat transactions.