Learn R Programming

simmer (version 3.5.1)

activate: Add a activate/deactivate activity

Description

Activate or deactivate the generation of arrivals by name.

Usage

activate(.trj, generator)
deactivate(.trj, generator)

Arguments

.trj
the trajectory object.
generator
the name of the generator or a function returning a name.

Value

Returns the trajectory object.

See Also

set_trajectory, set_distribution.