Learn R Programming

EpiNow2 (version 1.8.0)

pad_reported_cases: Pads reported cases with daily initial zeros

Description

Pads reported cases with daily initial zeros

Usage

pad_reported_cases(reported_cases, n, with = NA_real_)

Value

A data.table of reported cases.

Arguments

reported_cases

A <data.frame> of reported cases.

n

The number of days to pad the reported cases by.

with

What to pad with