Estimate the time-varying reproduction number from incidence data using covariate data
fit_epifilter_covariates.Rd
Estimate the time-varying reproduction number from incidence data using covariate data
Arguments
- N
number of data points
- C
case counts
- w
discretised serial interval
- X
matrix of covariates (which likely should include a first column of 1s) of dimensions N x (N_covariates + 1)
- is_sampling
Boolean indicating if sampling is to be used (if TRUE) or optimisation (if FALSE). Defaults to TRUE
- ...
Arguments passed to
rstan::sampling()
(ifis_sampling=TRUE
) orrstan::optimizing()
(ifis_sampling=FALSE
)