Activity for modifying an arrival's attribute in the form of a key/value pair.
set_attribute(.trj, key, value, global = FALSE)set_global(.trj, key, value)
the trajectory object.
the attribute name.
the value to set, accepts either a numeric or a callable object (a function) which must return a numeric.
if TRUE
, the attribute will be global instead of per-arrival.
Returns the trajectory object.
set_global
is a shortcut for set_attribute(global=TRUE)
.