Plot usage of a resource over time

Share:

Description

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

Usage

1
2
plot_resource_usage(envs, resource_name, items = c("system", "queue",
  "server"), 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.

Value

Returns a ggplot2 object.

See Also

plot_resource_utilization, plot_evolution_arrival_times, plot_attributes.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.