Learn R Programming

BTYDplus (version 0.9.0)

plotSampledTimingPatterns: Plot timing patterns of sampled customers

Description

Plot timing patterns of sampled customers

Usage

plotSampledTimingPatterns(elog, T.cal = NULL, n = 30,
  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 {
data("groceryElog")
plotSampledTimingPatterns(groceryElog, T.cal = "2006-12-31")
# }

Run the code above in your browser using DataLab