Learn R Programming

simmer (version 3.2.1.9000)

peek: Peek next events

Description

Looks for future events in the event queue.

Usage

peek(env, steps = 1, verbose = F)

Arguments

env

the simulation environment.

steps

number of steps to peek.

verbose

show additional information (i.e., the name of the process) about future events.

Value

Returns numeric values if `verbose=F` and a data frame otherwise.

See Also

Other methods for dealing with a simulation environment: simmer, reset, now, onestep, run, add_resource, add_generator, get_mon_arrivals, get_mon_attributes, get_mon_resources, get_n_generated, get_capacity, get_queue_size, get_server_count, get_queue_count.