Description Usage Arguments Value
View source: R/03_calibration_functions.R
log_prior computes a log-prior value for one (or multiple) parameter
set(s) based on their prior distributions. Used for OPTIMIZATION
purposes, NOT Bayesian estimation.
1 2 3 4 5 6  | log_prior_opt(
  v_params,
  v_param_names = names(get_bounds()$v_lb),
  v_lb = get_bounds()$v_lb,
  v_ub = get_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.