Learn R Programming

simmer (version 3.5.1)

get_mon: Get statistics

Description

Simulator 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.