define_fit_priors | R Documentation |
Create a dataframe with the definition of the prior distribution for all parameters that will be fitted to data. The definition are written in a CSV file.
define_fit_priors(path)
path |
String. Path to the CSV file. The CSV file must have a specific format:
|
Dataframe with three columns: name, distrib,prms.
## Not run:
An example for the CSV file is:
name, distrib, prms
R0, rnorm, 3.0; 0.2
transm.v_3, rexp, 0.10
which translates into:
- The parameter R0 has a normal distribution
with mean 3.0 and std dev 0.2 as a prior distribution.
- The 3rd element of the vector that represents
the time-dependent transmission rate `transm.v`
(beta in the mathematical documentation) has an
exponential prior distribution with mean 1/0.10.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.