data_check {incidental} | R Documentation |
Input data check
Description
Check input data for:
minimum length of reported
integer for reported
positivity for delay_dist and reported
sums to 1 for delay_dist
Throw an error if any conditions are violated.
Usage
data_check(reported, delay_dist)
Arguments
reported |
An integer vector of reported cases. |
delay_dist |
A positive vector that sums to one, which describes the delay distribution. |
[Package incidental version 0.1 Index]