Skip to contents

Plot resource utilisation from a game run

Usage

sdt_plot_utilisation(run)

Arguments

run

A game_run from sdt_simulate().

Value

A ggplot2 object.

Examples

co <- sdt_synthetic_cohort(20, seed = 1)
sc <- sdt_scenario(co, resources = list(or = 2))
run <- sdt_simulate(sc, replications = 1, verbose = FALSE)
sdt_plot_utilisation(run)