Description Usage Arguments Value
View source: R/03_hosp_calibration_functions.R
hosp_log_prior_opt
computes a log-prior value for one (or multiple)
hospitalization parameter set(s) based on their prior distributions. Used for
OPTIMIZATION purposes, NOT Bayesian estimation.
1 2 3 4 5 6 | hosp_log_prior_opt(
v_params,
v_param_names = names(get_hosp_bounds()$v_lb),
v_lb = get_hosp_bounds()$v_lb,
v_ub = get_hosp_bounds()$v_ub
)
|
v_params |
Vector (or matrix) of model parameters. |
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 scalar (or vector) with log-prior values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.