Learn R Programming

BTYDplus (version 0.7.2)

plotSampledTimingPatterns: Plot timing patterns of sampled customers.

Description

Plot timing patterns of sampled customers.

Usage

plotSampledTimingPatterns(elog, T.cal = NULL, n = 50,
  title = "Sampled Timing Patterns")

Arguments

elog

Event log, a data.frame with columns cust and transaction time t or date.

T.cal

End of calibration period, which is visualized as a vertical line.

n

Number of sampled customers.

title

Plot title.

Examples

Run this code
# NOT RUN {
elog <- cdnow.sample()$elog
plotSampledTimingPatterns(elog, T.cal = "1997-09-30")
# }

Run the code above in your browser using DataLab