Collect a number of arrivals before they can continue processing or split a previously established batch.
batch(.trj, n, timeout = 0, permanent = FALSE, name = "", rule = NULL) separate(.trj)
the trajectory object.
batch size, accepts a numeric.
set an optional timer which triggers batches every
optional string. Unnamed batches from different
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.