View source: R/sf_data_priors_risk_factors.R
set_priors_rf | R Documentation |
Set priors associated with risk factors of new infection
set_priors_rf( x = STOCfree_data(), risk_factor = character(), modality = NULL, mean = NULL, sd = NULL )
x |
an object of class STOCfree_data |
risk_factor |
name of the risk factor for which priors are defined |
modality |
name of the modality for which priors are defined. Only applies to categorical risk factors. |
mean |
mean of the normal distribution used as a prior |
sd |
standard deviation of the normal distribution used as a prior |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.