front_zero_pad {incidental} | R Documentation |
Pad reported data with zeros in front
Description
Add zeros in front of reported data avoid infections from before first reported date all being placed on first reported date.
Usage
front_zero_pad(reported, size)
Arguments
reported |
An integer vector of reported cases |
size |
An integer size of zero-padding |
Value
An integer vector of cases with size 0's in front
[Package incidental version 0.1 Index]