Process the spatially explicit branching process model fitted to incidence
Source:R/process_fit.R
process_spatial_estimate.Rd
This function processes the fitted object returned by `spatial_estimate`. The processing consists of translating the vector of effective reproduction number parameters to a space-time matrix that is easier to interpret.
Arguments
- fit
stanfit object returned by `spatial_estimate`
- x
A matrix of past incidence (integer). The matrix has 1 column for each location; that is, each column is interpreted as the incidence in a location.
- window
integer indicating the length of the window over which Rt is to be estimated. Window length is assumed to be the same for all locations. Default value is 7 i.e. Rt is estimated over a weekly window. Currently only non-overlapping windows are supported.