These functions extract data on detections, ignoring occasions when an
animal was not detected. By default, detections are ordered by occasion, animalID
and trap (sortorder = "snk"
). The alternative is to order by
trap, occasion and animalID (sortorder = "ksn"
). (`n', `s' and `k' are the
indices used internally for animals, occasions and traps respectively).
For historical reasons, "ksn" is used for locations within polygons and similar
(xy
).
trap
returns polygon or transect numbers if traps(object)
has detector type `polygon' or `transect'.
alongtransect
returns the distance of each detection from the
start of the transect with which it is associated.
Replacement values must precisely match object
in number of
detections and in their order. xy<-
expects a dataframe of x and y
coordinates for points of detection within a `polygon' or `transect'
detector. telemetryxy<-
expects a list of dataframes, one per telemetered animal.