View source: R/adjust_incidence_functions.R
bayesnowcasting | R Documentation |
This function estimate the Bayesian nowcast (new version)
bayesnowcasting(d, Dmax = 10, nowSE, nweeks = 50, interacao = FALSE, tweet = F)
Dmax |
for the "bayesian" method. Maximum number of weeks that is nowcasted |
nowSE |
week of the nowcasting (ex. 202110). |
nweeks |
number of weeks used for model calibration, default is 50. |
interacao |
TRUE (default) to include in the model the delay-time interaction term |
tweet |
FALSE (default). TRUE to include tweet in the model |
obj |
data.frame with individual cases, containing columns municipio_geocodigo, dt_notific, dt_sin_pri, dt_digita |
data.frame with median and 95percent confidence interval for the predicted cases-to-be-notified)
dados <- getdelaydata(cities=3304557, nyears=1, cid10="A90",
lastday = as.Date("2024-03-23"), datasource=con) # Not run without connection
resfitcIsT<-bayesnowcasting(dados, nowSE = 202412)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.