Skip to contents

Builds the dlo_total data entry: the known integer total per snapshot (the latest cumulative confirm, i.e. the cutoff running total), ordered by group then reference date to match the snapshot order. These totals size the residual category when an observation indicator leaves some before-cutoff cells unobserved.

Usage

delay_only_total(data, delay_only)

Arguments

data

Output from enw_preprocess_data().

delay_only

Logical; if FALSE an empty (g by 0) matrix is returned so the model carries no delay-only totals.

Value

An integer vector of length snapshots (or length 0 when not in delay-only mode).