batch {simmer} | R Documentation |
Activities for collecting a number of arrivals before they can continue processing and splitting a previously established batch.
batch(.trj, n, timeout = 0, permanent = FALSE, name = "", rule = NULL) separate(.trj)
.trj |
the trajectory object. |
n |
batch size, accepts a numeric. |
timeout |
set an optional timer which triggers batches every |
permanent |
if |
name |
optional string. Unnamed batches from different |
rule |
an optional callable object (a function) which will be applied to every arrival to determine whether it should be included into the batch, thus |
Returns the trajectory object.