
Empirical reporting-completion summary from a reporting triangle
Source:R/reporting_completion.R
reporting_completion_v1.RdEmpirical reporting-completion summary from a reporting triangle
Usage
reporting_completion_v1(
triangle,
max_delay,
delay_window = NULL,
period = c("all", "year", "month")
)Arguments
- triangle
A `csfmt_reporting_triangle_v3`.
- max_delay
Delay horizon in weeks.
- delay_window
Optional: use only settled weeks within roughly this many weeks (drift-aware). `NULL` uses all settled weeks. Ignored for the shape of `period` stratification, which slices time itself.
- period
Time stratification of the settled weeks, by the calendar year / month of each week's Thursday: `"all"` (one pooled curve, default), `"year"`, or `"month"` (one row per period). Use `"year"`/`"month"` to see whether completion time is trending up or down.