
Plot the per-date delay profiles
plot_delay_profiles.RdOne 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.
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.- axis
Which time axis the delay is measured to:
"report"(default) or"validation". Both are measured from the event, so the two are directly comparable – run each in turn and the gap between them is the time the laboratory adds. (This is not the same quantity as the.validation_delaycolumn, which is the laboratory's own turnaround, measured from the report.) Needs a validation process (seeadd_validation_date()); cases still"pending"are left out.- palette
A named colour palette. Defaults to the package palette.
See also
plot_delay_distribution() for the pooled delay distribution rather than one
curve per date; plot_delay_drift() for whether those curves move over time;
diagnose_batch_shape() for the test behind the eyeball;
diagnostic_plot() for the whole gallery.
