hosp_sample_prior: Sample from prior distributions of calibrated parameters

Description Usage Arguments Value

View source: R/03_hosp_calibration_functions.R

Description

hosp_sample_prior generates a sample of hospitalization parameter sets from their prior distribution.

Usage

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
)

Arguments

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.

Value

A matrix with 6 columns and n_samp rows. Each row corresponds to a parameter set sampled from their prior distributions.


SC-COSMO/sccosmomcma documentation built on Dec. 18, 2021, 11:56 a.m.