Description Usage Arguments Value
View source: R/03_hosp_calibration_functions.R
hosp_sample_prior
generates a sample of hospitalization parameter sets
from their prior distribution.
1 2 3 4 5 6 | hosp_sample_prior(
n_samp,
v_param_names = names(get_hosp_bounds()$v_lb),
v_lb = get_hosp_bounds()$v_lb,
v_ub = get_hosp_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 6 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.