clv.data.dynamic.covariates-class | R Documentation |
Extends the class clv.data.static.covariates, but adds no additional slots to it. The purpose of this class rather is to define different behaviors suitable for dynamic covariates.
The data.table
s stored in the slots data.cov.life
and data.cov.trans
each contain an additional column Cov.Date
for the timepoint of the covariate.
An object of this class serves as input to fit models with dynamic covariates.
## S4 method for signature 'clv.data.dynamic.covariates'
show(object)
data.cov.life
Single data.table
with all static covariate data for the lifetime process
data.cov.trans
Single data.table
with all static covariate data for the transaction process
names.cov.data.life
Character vector with names of the dynamic lifetime covariates.
names.cov.data.trans
Character vector with names of the dynamic transaction covariates.
Definition of the parent class clv.data.static.covariates.
For fitting dynamic covariate models: pnbd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.