run_model_tabular: Run Analyses From Files

Description Usage Arguments Details Value

View source: R/tabular_input.R

Description

This function runs a model from tabular input.

Usage

1
2
3
4
5
6
7
8
9
run_model_tabular(
  location,
  reference = "REFERENCE.csv",
  run_dsa = TRUE,
  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_dsa

Run DSA?

run_psa

Run PSA?.

run_demo

Run demgraphic analysis?

save

Should the outputs be saved?

overwrite

Should the outputs be overwritten?

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.

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).


heemod documentation built on July 8, 2020, 6:55 p.m.