Learn R Programming

simmer (version 3.5.1)

peek: Peek next events

Description

Look for future events in the event queue and (optionally) obtain info about them.

Usage

peek(.env, steps = 1, verbose = FALSE)

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

now.