https://github.com/DARTH-git/darthpack/blob/6fbbfccf1a0b2042475ae15cefc55927fe52ac5c/analysis/03_calibration.R#L81 Add the following to clearly define the functions being called by IMIS() ``` # define three functions needed by IMIS: prior(x), likelihood(x), sample.prior(n) prior <- calc_prior likelihood <- calc_likelihood sample.prior <- sample_prior ```