clv.data.static.covariates-class {CLVTools} | R Documentation |
Transactional and static covariates data to fit CLV models
Description
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.
Usage
## S4 method for signature 'clv.data.static.covariates'
show(object)
Slots
data.cov.life
Single
data.table
with all static covariate data for the lifetime processdata.cov.trans
Single
data.table
with all static covariate data for the transaction processnames.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.
See Also
Definition of the parent class clv.data.
For fitting covariate models: pnbd
[Package CLVTools version 0.11.2 Index]