View source: R/model-modules.R
enw_report | R Documentation |
Report date logit hazard reporting model module
enw_report(non_parametric = ~0, structural = ~0, data)
non_parametric |
A formula (as implemented in |
structural |
A formula with fixed effects and using only binary
variables, and factors describing the known reporting structure (i.e weekday
only reporting). The base case (i.e the first factor entry) should describe
the dates for which reporting is possible. Internally dates with a non-zero
element in the design matrix have their hazard set to 0. This can use
features defined by report date as defined in |
data |
Output from |
A list containing the supplied formulas, data passed into a list
describing the models, a data.frame
describing the priors used, and a
function that takes the output data and priors and returns a function that
can be used to sample from a tightened version of the prior distribution.
Model modules
enw_expectation()
,
enw_fit_opts()
,
enw_missing()
,
enw_obs()
,
enw_reference()
enw_report(data = enw_example("preprocessed"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.