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. the name of the source or a function returning a name. the trajectory that the generated arrivals will follow. 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.

activate, deactivate.