clv.data-class: Transactional data to fit CLV models

clv.data-classR Documentation

Transactional data to fit CLV models

Description

Stores the processed transactional data and holds an object of class clv.time which stores further information about the split in an estimation and holdout sample.

A clv.data object serves as input into the various model fitting functions.

Usage

## S4 method for signature 'clv.data'
show(object)

Slots

call

Single language of the call used to create the object

name

Human-readable name of the type of transactional data

clv.time

clv.time object that stores and is used for processing all timepoint related information

data.transactions

Single data.table containing the original transaction data, with columns renamed to 'Id', 'Date', 'Price'

data.repeat.trans

Single data.table containing only the repeat transactions

has.spending

Single logical whether the data contains information about the amount spent per transaction

has.holdout

Single logical whether the data is split in a holdout and estimation period

See Also

clv.time


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