Description Usage Arguments Value
View source: R/03_calibration_functions.R
sample.prior
generates a sample of parameter sets from their prior
distribution.
1 2 3 4 5 6 | sample.prior(
n_samp,
v_param_names = names(get_bounds()$v_lb),
v_lb = get_bounds()$v_lb,
v_ub = get_bounds()$v_ub
)
|
n_samp |
Number of samples. |
v_param_names |
Vector with parameter names. |
v_lb |
Vector with upper bounds for each parameter. |
v_ub |
Vector with lower bounds for each parameter. |
A matrix with number of calibrated parameters as columns and n_samp
rows. Each row corresponds to a parameter set sampled from their prior
distributions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.