join {simmer} | R Documentation |
Join Trajectories
Description
Concatenate any number of trajectories in the specified order.
Usage
join(...)
Arguments
... |
trajectory objects. |
Value
Returns a new trajectory object.
See Also
Extract.trajectory
, length.trajectory
,
get_n_activities
.
Examples
t1 <- trajectory() %>% seize("dummy", 1)
t2 <- trajectory() %>% timeout(1)
t3 <- trajectory() %>% release("dummy", 1)
## join can be used alone
join(t1, t2, t3)
## or can be chained in a trajectory definition
trajectory() %>%
join(t1) %>%
timeout(1) %>%
join(t3)
[Package simmer version 4.4.6.4 Index]