Adjust Case Counts for Truncation

adjust_for_truncation(
  cases,
  cum_freq,
  dates,
  confidence_adjustment = NULL,
  samples,
  max_upscale
)

Arguments

cases

Numeric vector of cases

cum_freq

Numeric vector of cumulative frequencies

dates

Character vector of dates

confidence_adjustment

Numeric vector of frequencies used to adjust confidence

samples

Numeric, number of samples to take

max_upscale

Numeric, maximum upscaling of cases allowed at each time point

Value

A data.table adjusted for truncation