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

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
2
3
4
5
6
7
  ## 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

1
2
3
4
5
6
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 Sept. 11, 2018, 5:06 p.m.