View source: R/replace_negatives.R
replace_negatives | R Documentation |
Replace negative incidence with imputed data and redistribute residuals across observations before adjustment date
replace_negatives(data, measure)
data |
data frame with location, date, cum and inc |
measure |
character vector specifying measure of covid prevalence: 'deaths' or 'cases' |
data frame with location, date, cum and inc after replacement
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.