burst: Bursting a track

Description Usage Arguments Details Author(s) Examples

Description

Bursting a track by specified variable

Usage

1
2
  ## S4 method for signature 'Move,character'
burst(x, f, ...)

Arguments

x

a Move object

f

a character, factor, or numeric 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

...

not used

Details

The burst function bursts (divides) a track in 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.

Author(s)

Marco Smolla

Examples

1
2
3
4
data(leroy)
behav <- c(rep(1:4,each=200), rep(5, 118))
testb <- burst(x=leroy, f=behav)
plot(testb)

Example output

Loading required package: geosphere
Loading required package: sp
Loading required package: raster
Loading required package: rgdal
rgdal: version: 1.2-10, (SVN revision 673)
 Geospatial Data Abstraction Library extensions to R successfully loaded
 Loaded GDAL runtime: GDAL 1.10.1, released 2013/08/26
 Path to GDAL shared files: /usr/share/gdal/1.10
 Loaded PROJ.4 runtime: Rel. 4.8.0, 6 March 2012, [PJ_VERSION: 480]
 Path to PROJ.4 shared files: (autodetected)
WARNING: no proj_defs.dat in PROJ.4 shared files
 Linking to sp version: 1.2-3 

move documentation built on Jan. 16, 2017, 2:22 a.m.