Learn R Programming

BTYDplus (version 0.5.0)

nbd.GenerateData: Simulate data according to NBD model assumptions

Description

Simulate data according to NBD model assumptions

Usage

nbd.GenerateData(n, T.cal, T.star, params, return.elog = FALSE)

Arguments

n

number of customers

T.cal

length of calibration period

T.star

length of holdout period

params

NBD parameters - a vector with r and alpha in that order

return.elog

boolean - if TRUE then the event log is returned in addition to the CBS summary

Value

list with elements cbs and elog containing data.frames

See Also

nbd.EstimateParameters