simmer (version 3.6.3)

get_mon: Monitoring Statistics

Description

Getters for obtaining monitored data (if any) about arrivals, attributes and resources.

Usage

get_mon_arrivals(.envs, per_resource = FALSE, ongoing = FALSE)

get_mon_attributes(.envs)

get_mon_resources(.envs, data = c("counts", "limits"))

Arguments

.envs

the simulation environment (or a list of environments).

per_resource

if TRUE, statistics will be reported on a per-resource basis.

ongoing

if TRUE, ongoing arrivals will be reported. The columns end_time and finished of these arrivals are reported as NAs.

data

whether to retrieve the "counts", the "limits" or both.

Value

Returns a data frame.