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

set_trajectory(.trj, source, trajectory)

set_source(.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