Learn R Programming

move (version 3.2.2)

idData: 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 .MoveTrack
idData(x,i,j,...)

# S4 method for .MoveTrack,missing,missing,data.frame idData(x,i,j) <- value # S4 method for .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

Examples

Run this code
# NOT RUN {
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"))
# }

Run the code above in your browser using DataLab