bayesnowcasting: Correct incidence data with notification delay (nowcasting).

Description Usage Arguments Value Examples

View source: R/adjust_incidence_functions.R

Description

This function estimate the Bayesian nowcast (new version)

Usage

1
bayesnowcasting(d, Dmax = 10, nowSE, interacao = TRUE)

Arguments

Dmax

for the "bayesian" method. Maximum number of weeks that is modeled

nowSE

week of the nowcasting (ex. 202110).

interacao

TRUE (default) se o modelo tiver o termo de interacao efeito-atraso

obj

data.frame with individual cases, containing columns municipio_geocodigo, dt_notific, dt_sin_pri, dt_digita

Value

data.frame with median and 95percent confidence interval for the predicted cases-to-be-notified)

Examples

1
2
3
4
# bayesian
dd <- getdelaydata(cities=2304400, nyears=1, cid10="A90", datasource=con)
resfit<-bayesnowcasting(dd, nowSE = 202111)
resfit

claudia-codeco/AlertTools documentation built on Aug. 12, 2021, 9:58 a.m.