A shortcut function for constructing a telemetry capthist object from a file of
telemetry fixes. Telemetry data are generally similar in format to polygon data
(see addTelemetry).
character vector of names for individual covariates
verify
logical for whether to check input
...
other arguments passed to countfields, read.table etc.
Value
An secr capthist object including attribute `detectedXY' with the x-y
coordinates, and a `traps' object with detector type = `telemetry'
Details
Input data may be in a text file (argument file) or a dataframe
(argument data). Data should be in the XY format for that
function i.e. the first 5 columns should be Session, ID, Occasion, X,
Y. Further columns are treated as individual covariates.
No `traps' input is required. A traps object is generated automatically
from the convex hull of the fixes, inflated by a tiny fraction (1e-8) in
all directions to ensure all fixes lie inside.