
Model specific prior distributions for latent models
Source:R/latent_model.R
epidist_model_prior.epidist_latent_model.Rd
Defines prior distributions for the latent model parameters pwindow_raw
and
swindow_raw
which control the width of the observation windows.
Usage
# S3 method for class 'epidist_latent_model'
epidist_model_prior(data, formula, ...)
Arguments
- data
An object with class corresponding to an implemented model.
- formula
An object of class stats::formula or brms::brmsformula (or one that can be coerced to those classes). A symbolic description of the model to be fitted. A formula must be provided for the distributional parameter
mu
, and may optionally be provided for other distributional parameters.- ...
Additional arguments passed to
fn
method.