adjust_for_truncation: Adjust Case Counts for Truncation

Description Usage Arguments Value

View source: R/adjust.R

Description

Adjust Case Counts for Truncation

Usage

1
2
3
4
5
6
7
8
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


epiforecasts/EpiNow documentation built on Oct. 26, 2020, 2:38 p.m.