sample_delay.Rd
Sample Onset Dates for Cases missing them
sample_delay(linelist = NULL, delay_fn = NULL, earliest_allowed_onset = NULL)
linelist | Dataframe with two variables: date_report and date_onset. As generated by |
---|---|
delay_fn | A sampling funtion that takes a single numeric argument and returns a vector of numeric samples this long. |
earliest_allowed_onset | A character string in the form of a date ("2020-01-01") indiciating the earliest allowed onset. |
Dataframe with no missing data and two variables: date_report and date_onset