Learn R Programming

move (version 3.2.2)

sensor: Extract the sensor of a Move unUsedRecords object

Description

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.

Examples

Run this code
# NOT RUN {
data(leroy)
head(sensor(leroy)) ## get the sensor from a Move object

head(sensor(unUsedRecords(leroy))) ## get the sensor from the unused records of a Move object

data(fishers)
head(sensor(fishers)) ## get the sensor from a MoveStack object
# }

Run the code above in your browser using DataLab