extractSimulationResults: Extract and summarize BaBSim results

View source: R/extractSimulationResults.R

extractSimulationResultsR Documentation

Extract and summarize BaBSim results

Description

Given a list of result environments returned by babsimHospital, extract and summarize resource usage for each day. If the resource usage fluctuates during the day, the maximum usage is reported.

Usage

extractSimulationResults(envs, conf)

Arguments

envs

List of simulation environments

conf

Configuration for simulation runs in envs

Value

A data.table with columns

date

Day on which the resource is required.

resource

The resource required.

replication

From which replication the result stems.

count

Number of units of resource in use.


babsim.hospital documentation built on May 30, 2022, 9:05 a.m.