Description Usage Arguments Value Examples
View source: R/adjust_incidence_functions.R
This function estimate the Bayesian nowcast (new version)
1 | bayesnowcasting(d, Dmax = 10, nowSE, interacao = TRUE)
|
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 |
data.frame with median and 95percent confidence interval for the predicted cases-to-be-notified)
1 2 3 4 | # bayesian
dd <- getdelaydata(cities=2304400, nyears=1, cid10="A90", datasource=con)
resfit<-bayesnowcasting(dd, nowSE = 202111)
resfit
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.