estimates_by_report_date: Estimate Cases by Report Date

View source: R/epinow-internal.R

estimates_by_report_dateR Documentation

Estimate Cases by Report Date

Description

[Questioning] Either extracts or converts reported cases from an input data table. For output from estimate_infections this is a simple filtering step.

Usage

estimates_by_report_date(
  estimates,
  CrIs = c(0.2, 0.5, 0.9),
  target_folder = NULL,
  samples = TRUE
)

Arguments

estimates

List of data frames as output by estimate_infections

CrIs

Numeric vector of credible intervals to calculate.

target_folder

Character string specifying where to save results (will create if not present).

samples

Logical, defaults to TRUE. Should samples be saved

Value

A list of samples and summarised estimates of estimated cases by date of report.


EpiNow2 documentation built on Oct. 31, 2024, 5:09 p.m.