run_models_tabular: Run Analyses From Files
Description
This function runs a model from tabular input.
Usage
run_models_tabular(location, reference = "REFERENCE.csv", run_psa = TRUE, run_demo = TRUE, save = FALSE, overwrite = FALSE)
Arguments
location
Directory where the files are located.
reference
Name of the reference file.
run_demo
Run demgraphic analysis?
save
Should the outputs be saved?
overwrite
Should the outputs be overwritten?
Value
A list of evaluated models (always), and, if
appropriate input is provided, dsa (deterministic
sensitivity analysis), psa (probabilistic sensitivity
analysis) and demographics (results across different
demographic groups).
Details
The reference file should have two columns, data
and file. An optional absolute_path column
can be added, having value TRUE where an absolute
file path is provided. data values must include
state, tm, and parameters, and can
also include options, demographics and
data. The corresponding values in the file
column give the names of the files (located in
base_dir) that contain the corresponding
information - or, in the case of data, the
directory containing the tables to be loaded.