subset: Returns a single object from a MoveStack

Description Usage Arguments Details Author(s) Examples

Description

The subset function can be used to return a subset of a Move(Stack) object.

Usage

1
2
3
4
  ## S4 method for signature 'MoveStack,ANY,ANY'
x[i]
  ## S4 method for signature 'MoveStack,character,missing'
x[[i]]

Arguments

x

MoveStack object

i

numeric, character or logical vector for individuals in a stack or a set of locations

Details

The double square bracket method is used for sub setting a stack to a single move object according to the individual name or return a stack of multiple individuals.

Author(s)

Bart Kranstauber

Examples

1
2
3
4
5
6
7
8
9
data(leroy)
leroy[1:20,]
leroy[c(TRUE,FALSE),]
data(fishers)
fishers[1:300,]
fishers[1]
fishers[['Ricky.T']]
fishers[[2]]
fishers[[c(TRUE,FALSE)]]


Search within the move package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.