Last chance! 50% off unlimited learning
Sale ends in
Last chance! 50% off unlimited learning
Sale ends in
Modify an attribute in the form of a key/value pair.
set_attribute(.trj, key, value, global = FALSE)
the trajectory object.
the attribute key (coerced to a string).
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.