Learn R Programming

simmer (version 3.1.2.9000)

plot_resource_usage: Plot usage of a resource over time

Description

Plot the usage of a resource over the simulation time frame.

Usage

plot_resource_usage(envs, resource_name, items = c("queue", "server",
  "system"), steps = FALSE)

Arguments

envs

a single simmer environment or a list of environments representing several replications

resource_name

the name of the resource (character value)

items

the components of the resource to be plotted

steps

adds the changes in the resource usage