clv.data.static.covariates-class | R Documentation |
Extends the class clv.data and adds slots to store data and names of static covariates for both processes. An object of this class then serves as input to fit models with static covariates.
## S4 method for signature 'clv.data.static.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 static lifetime covariates.
names.cov.data.trans
Character vector with names of the static transaction covariates.
Definition of the parent class clv.data.
For fitting covariate models: pnbd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.