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

clv.data.dynamic.covariates-classR Documentation

Transactional and dynamic covariates data to fit CLV models

Description

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.tables 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.

Usage

## S4 method for signature 'clv.data.dynamic.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 dynamic lifetime covariates.

names.cov.data.trans

Character vector with names of the dynamic transaction covariates.

See Also

Definition of the parent class clv.data.static.covariates.

For fitting dynamic covariate models: pnbd


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