
Plot the per-date delay profiles
plot_delay_profiles.RdUsage
plot_delay_profiles(
x,
by = c("report", "event"),
max_delay = NULL,
plotly = FALSE,
palette = .tbl_now_palette()
)Arguments
- x
A
tbl_now()object.- by
One line per
"report"date (default) or per"event"date.- max_delay
Largest delay to draw.
NULL(default) caps at the delay covering 99% of reported mass.- plotly
If
TRUE, return an interactive plotly widget instead of a static plot. DefaultFALSE.- palette
A named colour palette. Defaults to the package palette.
Details
One translucent curve per date (see by) giving that date's share of reports
at each delay, coloured by its mean delay. A batch is a lone right-shifted
(long-delay) curve.
