
Compare model outputs from two different parameter sets
Source:R/check_model_helpers.R
compare_model_runs.RdCompare model outputs from two different parameter sets
Arguments
- extractor_fn
The function to get the result (e.g., get_qalys).
- comparison_fn
The testthat expectation function (e.g., expect_lt).
- params_1
List of parameters for the first
run_model()call.- params_2
List of parameters for the second
run_model()call.- data
The base dataset (passed as the first argument to
run_model).- label
A label for the test, passed to the comparison function.