moveStack | R Documentation |
Stacks a list of Move objects
## S4 method for signature 'list'
moveStack(x, forceTz=NULL, ...)
## S4 method for signature 'Move'
moveStack(x, ..., forceTz=NULL)
## S4 method for signature 'MoveStack'
moveStack(x, ..., forceTz=NULL)
x |
a list of |
forceTz |
The time zone, as a character, that the resulting moveStack object should have (see |
... |
Additional |
This function stacks single Move or Movestacks objects to a MoveStack object.
a 'MoveStack' object
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'
Marco Smolla, Bart Kranstauber & Anne Scharf
split
data(leroy)
ricky<-move(system.file("extdata","ricky.csv.gz", package="move"))
leroy<-spTransform(leroy, crs(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(timestamps(ricky),"tzone"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.