burst {move} | R Documentation |
Bursting a track
Description
Bursting a track by a specified variable
Usage
## S4 method for signature 'Move,factor'
burst(x, f, ...)
Arguments
x |
a |
f |
a character, factor, or numeric vector that indicates how to burst the coordinates of a Move object. It must be one shorter than the number of locations, because there are always one less segments of a track than coordinates |
... |
Currently not implemented |
Details
The burst function bursts (divides) a track into segments that are specified by the burstIDs (e.g. behavioral annotations). It allows to investigate different parts of a track according to supplied variables like day and night, movement and rest, and so on.
Value
a 'moveBurst
' object
Author(s)
Marco Smolla
See Also
Examples
data(leroy)
behav <- c(rep(c("B1","B2","B3","B2"),each=200), rep("B1", 118))
testb <- burst(x=leroy, f=behav)
plot(testb, type="l")
[Package move version 4.2.4 Index]