Skip to contents

Extracts the sensor(s) used to record the locations of a track from a Move or unUsedRecords object.

Usage

# S4 method for .MoveTrack
sensor(this,...)
# S4 method for .unUsedRecords
sensor(this,...)

Arguments

this

a move, moveStack, moveBurst, .unUsedRecords or .unUsedRecordsStack object

...

Currently not used

Value

'factor' with the sensor(s) name(s).

Note that the returned vector for a MoveStack or .unUsedRecordsStack is not split between animals.

Author

Bart Kranstauber

Examples

data(leroy)
head(sensor(leroy)) ## get the sensor from a Move object
#> [1] gps gps gps gps gps gps
#> Levels: gps

head(sensor(unUsedRecords(leroy))) ## get the sensor from the unused records of a Move object
#> [1] gps gps gps gps gps gps
#> Levels: gps

data(fishers)
head(sensor(fishers)) ## get the sensor from a MoveStack object
#> [1] gps gps gps gps gps gps
#> Levels: gps