clv.data.static.covariates-class: Transactional and static covariates data to fit CLV models

clv.data.static.covariates-classR 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 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.

See Also

Definition of the parent class clv.data.

For fitting covariate models: pnbd


CLVTools documentation built on Oct. 13, 2024, 9:07 a.m.