plotTimingPatterns | R Documentation |
Plot timing patterns of sampled customers
plotTimingPatterns(
elog,
n = 40,
T.cal = NULL,
T.tot = NULL,
title = "Sampled Timing Patterns",
headers = NULL
)
elog |
Event log, a |
n |
Number of sampled customers. |
T.cal |
End of calibration period, which is visualized as a vertical line. |
T.tot |
End of observation period |
title |
Plot title. |
headers |
Vector of length 2 for adding headers to the plot, e.g.
|
data("groceryElog")
plotTimingPatterns(groceryElog, T.tot = "2008-12-31")
plotTimingPatterns(groceryElog, T.cal = "2006-12-31", headers = c("Calibration", "Holdout"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.