replace_negatives: Replace negative incidence with imputed data and redistribute...

View source: R/replace_negatives.R

replace_negativesR Documentation

Replace negative incidence with imputed data and redistribute residuals across observations before adjustment date

Description

Replace negative incidence with imputed data and redistribute residuals across observations before adjustment date

Usage

replace_negatives(data, measure)

Arguments

data

data frame with location, date, cum and inc

measure

character vector specifying measure of covid prevalence: 'deaths' or 'cases'

Value

data frame with location, date, cum and inc after replacement


reichlab/covidData documentation built on April 5, 2024, 5 p.m.