idData: Obtain or replace the idData slot of a Move object

idDataR Documentation

Obtain or replace the idData slot of a Move object

Description

This function returns or replaces the idData slot of a Move, MoveStack or MoveBurst object.

Usage

  ## S4 method for signature '.MoveTrack'
idData(x,i,j,...)

  ## S4 replacement method for signature '.MoveTrack,missing,missing,data.frame'
idData(x,i,j) <- value
  ## S4 replacement method for signature '.MoveTrack,ANY,ANY,ANY'
idData(x,i,j) <- value

Arguments

x

a move, moveStack or moveBurst object

i

Selection of the rows

j

Selection for the columns

value

Replacement values for the selected idData

...

Other arguments to the data frame subsetting such as drop=F

Value

Either the idData data.frame or the modified move object

Author(s)

Bart Kranstauber & Anne Scharf

Examples

data(fishers)
idData(fishers)

## obtain e.g. only the tag and individual identifier columns
idData(fishers, j=c(6,7))
idData(fishers, j=c("tag.local.identifier", "individual.local.identifier"))

move documentation built on July 9, 2023, 6:09 p.m.