
Check target size against number of reference times available and the number required
Source:R/allocate_reference_times.R
dot-check_against_requirements.RdCheck target size against number of reference times available and the number required
Usage
.check_against_requirements(
n_ref_times,
n_required,
n_target,
n_min_delay,
n_min_retro_nowcasts,
scale_factor,
max_delay
)Arguments
- n_ref_times
Integer indicating the number of reference times available
- n_required
Integer indicating the number need for both delay and uncertainty
- n_target
Integer indicating the target number of reference times.
- n_min_delay
Integer indicating the number needed for delay estimation.
- n_min_retro_nowcasts
Integer indicating the number needed for uncertainty estimation.
- scale_factor
Numeric value indicating the multiplicative factor on the maximum delay to be used for estimation of delay and uncertainty. Default is
3.- max_delay
Integer indicating the maximum delay to estimate, in units of the delay. The default is to use the whole reporting triangle,
ncol(reporting_triangle) -1.