Learn R Programming

move (version 1.0)

split: Splitting a MoveStack

Description

Splitting MoveStack in a list of Move objects

Usage

## S3 method for class 'MoveStack,missing':
split(x, f, drop=FALSE, ...)

Arguments

x
MoveStack object
f
not needed
drop
not needed
...
not needed

Details

A MoveStack is split into a list of Move objects by the track IDs of the given MoveStack. For stacking moveStack can be used.

Examples

Run this code
load(system.file("extdata", "move.RData", package="move"), .GlobalEnv)
movestack <- moveStack(list(leroy,ricky))
#dbbmmstack <- brownian.bridge.dyn(spTransform(stack), location.error=23.5, dimSize=85, time.step=6000)

split(movestack) #splitting a MoveStack
split(dbbmmstack) #splitting a DBBMMStack

Run the code above in your browser using DataLab