
Warn about user priors which are not parameters of the model
Source:R/prior.R
dot-warn_unmatched_prior.RdManually specified priors are passed to Stan unchanged and so are not checked here.
Arguments
- prior
One or more
brmspriorobjects created bybrms::set_prior()or related functions. These priors are passed toepidist_prior()in thepriorargument. Some models have default priors that are automatically added (seeepidist_model_prior()). These can be merged with user-provided priors using themerge_priorsargument.- known
One or more prior distributions in the class
brmspriorcovering the parameters of the model.