Open tristansnowsill opened 4 years ago
Currently working on this in branch develop with functions to extract comparisons from BCEA::bcea()
objects either by:
bcea$ref
to each comparator specified)bcea$ref
to each comparator specified)Will aim to achieve similar for heemod::run_psa()
objects, although semantics of index and name may differ because heemod
and BCEA
take different approaches.
The comparison field is currently not great. It works for
BCEA::bcea()
objects, but is problematic forheemod::run_psa()
objects.Perhaps it would be possible to specify the comparisons using languages, e.g.:
Where "intervention" and "comparator" are names from
bcea$interventions
orpsa$psa$.strategy_names
.For multiple comparisons you could then have: