moveStack

0th

Percentile

Creating a MoveStack

Stacks a list of Move objects

Usage
# S4 method for list
moveStack(x, forceTz=NULL, ...)
  
  # S4 method for Move
moveStack(x, ..., forceTz=NULL)
  
  # S4 method for MoveStack
moveStack(x, ..., forceTz=NULL)
Arguments
x

a list of move or moveStack objects (or a combination of both). Timestamps of all objects have to be in the same time zone.

forceTz

The time zone, as a character, that the resulting moveStack object should have (see OlsonNames() for available time zones). If NULL the timestamps of the resulting moveStack will be in the time zone of the computer (see Sys.timezone())

...

Additional move or moveStack objects.

Details

This function stacks single Move or Movestacks objects to a MoveStack object.

Value

a 'MoveStack' object

Note

All animal names are converted into 'good names' which means, that spaces are replaced with points and duplicated names get an individual number added. For example: 'Leroy, Leroy' -> adding number to duplicated names ->'Leroy, Leroy.1' 'Ricky T' -> replacing spaces -> 'Ricky.T'

See Also

split

Aliases
  • moveStack
  • moveStack,list-method
  • moveStack,Move-method
  • moveStack,MoveStack-method
Examples
# NOT RUN {
data(leroy)
data(ricky)

## creating a moveStack from a list of move objects
l <- list(ricky[200:270,], leroy[200:270,])
moveStack(l)

## creating a moveStack from several move objects
moveStack(ricky[200:270,], leroy[200:270,], forceTz="UTC")

## creating a moveStack with the same time zone as input move objects
moveStack(ricky[200:270,], leroy[200:270,], forceTz=attr(ricky@timestamps,"tzone"))

# }
Documentation reproduced from package move, version 3.1.0, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.