simmer (version 4.0.0)

set_trajectory: Set Source Parameters

Description

Activities for modifying a source's trajectory or source object by name.

Usage

set_trajectory(.trj, source, trajectory)

set_source(.trj, source, object)

set_distribution(.trj, source, object)

Arguments

.trj

the trajectory object.

source

the name of the source or a function returning a name.

trajectory

the trajectory that the generated arrivals will follow.

object

a function modelling the interarrival times (if the source type is a generator; returning a negative value stops the generator) or a data frame (if the source type is a data source).

Value

Returns the trajectory object.

See Also

activate, deactivate.