SaveCadreAllocations.Rd
Different healthcare delivery models involve different mixtures of types of
healthcare workers ("Cadres"). SaveCadreAllocations()
uses cadre
information read earlier as part of running an experiment, then combines the
allocation percentages with computed task times to produce a table showing
how much time each cadre spends per year on each healthcare task.
SaveCadreAllocations(suiteResults, filepath = NULL, annual = TRUE)
Extended suite results as returned by SaveExtendedSuiteResults()
File location to save cadre allocations. Default = NULL
Report as annual times instead of monthly? Default = TRUE
data.table
if (FALSE) {
results <-
pacehrh::RunExperiments(
scenarioName = "MergedModel",
trials = 20
)
SR <- pacehrh::SaveExtendedSuiteResults(results, filepath = "_SR.csv", run = "Run-1")
CA <- pacehrh::SaveCadreAllocations(SR, filepath = "_CA.csv")
cadreOverheadTimes <- pacehrh::SaveCadreOverheadData(filepath = "_COD.csv")
summaryStats <- pacehrh::ComputeSummaryStats(SR, CA)
}