Avance para o conteúdo

nowcaster (development version)

nowcaster 1.0.1

Lançamento CRAN: 2026-11-13

First release on CRAN.

Nowcasting

  • nowcasting_mgcv() fits the nowcasting model as a negative binomial GAM with ‘mgcv’, for non-structured data and for data structured by age (age_col, bins_age, method.group.gam).
  • nowcasting_inla() fits the Bayesian version of the model with ‘INLA’ (suggested, installed from the INLA repository), with options for zero-inflated data (zero_inflated), the latent time model (timeREmodel) and model-fit output (INLAoutput, WAIC, DIC).
  • Both functions can forecast K weeks ahead and return the predictive trajectories (trajectories = TRUE).

Other functions and data

  • nowcasting.summary() summarises predictive trajectories into medians and 50% / 95% intervals.
  • slope.estimate.quant() estimates the slope of the nowcasted curve.
  • sragBH: anonymised SARI records from Belo Horizonte, Brazil.