The function ld
concatenates all bursts in an object of class
ltraj
, adds two columns named id
and burst
, and,
when it is present, also adds the variables in the infolocs
component.
The function dl
creates an object of class ltraj
from a
data.frame
. If no column named id
exists, a random ID
is generated. If no column named burst
exists, the ID is used
as burst. The columns named "dx", "dy", "dist", "dt", "R2n",
"abs.angle" and "rel.angle" are recomputed by the function (see
?as.ltraj
). Additional columns are used as the infolocs
component.