R/03_calibration_functions.R
sample.prior.Rdsample.prior is kept for backwards compatibility and because the
IMIS package calls the sampling function by this exact name. It is a
thin wrapper around sample_prior, which follows the DARTH
naming conventions and should be preferred in new code.
A matrix with n_samp rows and one column per calibrated parameter.
Each row corresponds to a parameter set sampled from their prior
distributions.
sample.prior(2)
#> p_S1S2 hr_S1 hr_S2
#> [1,] 0.39686433 1.545373 13.303245
#> [2,] 0.03204099 4.150836 8.621342