set_trajectory {simmer} | R Documentation |
Activities for modifying a source's trajectory or source object by name.
set_trajectory(.trj, source, trajectory) set_source(.trj, source, object) set_distribution(.trj, source, object)
.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). |
Returns the trajectory object.