The step lengths - in kilometers if longitude/latitude provided, and in the metrics of
the data otherwise
angle
The turning angles (if any) - in radians
x
Either Easting or longitude (or e.g. depth for 1D data)
y
Either Northing or latitude (all zero if 1D data)
...
Covariates (if any)
Arguments
trackData
A dataframe of the tracking data, including at least coordinates
(either longitude/latitude values or cartesian coordinates), and optionnaly a field ID
(identifiers for the observed individuals). Additionnal fields are considered as covariates.
Note that, if the names of the coordinates are not "x" and "y", the coordNames argument
should specified. Tracking data should be structured so that the rows for each track (or each animal)
are grouped together, and ordered by date, in the data frame.
type
'LL' if longitude/latitude provided (default), 'UTM' if easting/northing.
coordNames
Names of the columns of coordinates in the data frame. Default: c("x","y").
LLangle
Logical. If TRUE, the turning angle is calculated with geosphere::bearing
(default), else calculated with atan2.