split: Splitting a MoveStack

Description Usage Arguments Details Author(s) Examples

Description

Splitting MoveStack in a list of Move objects

Usage

1
2
  ## S4 method for signature 'MoveStack,missing'
split(x, f, drop=FALSE, ...)

Arguments

x

MoveStack or MoveBurst 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. Also a MoveBurst object can be split this will lead to seperate list elements for every burst, every location where the burst is switched will then be recycled.

Author(s)

Marco Smolla

Examples

1
2
3
4
data(dbbmmstack)
data(fishers)
split(fishers) #splitting a MoveStack
split(dbbmmstack) #splitting a DBBMMStack

Example output

Loading required package: geosphere
Loading required package: sp
Loading required package: raster
Loading required package: rgdal
rgdal: version: 1.2-7, (SVN revision 660)
 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 
$Leroy
class       : Move 
features    : 919 
extent      : -73.93067, -73.84366, 42.70898, 42.7687  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=longlat +ellps=WGS84 +datum=WGS84 +towgs84=0,0,0 
variables   : 20
names       :           timestamp, eobs.battery.voltage, eobs.horizontal.accuracy.estimate, eobs.key.bin.checksum, eobs.speed.accuracy.estimate,    eobs.start.timestamp, eobs.status, eobs.temperature, eobs.type.of.fix, eobs.used.time.to.get.fix, ground.speed, heading, height.above.ellipsoid, utm.easting, utm.northing, ... 
min values  : 2009-02-11 12:16:45,                 3596,                              3.07,               3258904,                         0.27, 2009-02-11 12:14:59.000,           A,               13,                3,                         4,         0.01,    0.00,                    3.3,    587507.8,      4729143, ... 
max values  : 2009-03-04 09:16:59,                 3666,                             97.02,            4291715164,                        33.04, 2009-03-04 09:15:01.000,           A,               35,                3,                       119,        31.71,  359.79,                 -169.6,    594679.4,      4735720, ... 
timestamps  : 2009-02-11 12:16:45 ... 2009-03-04 09:16:59 Time difference of 21 days  (start ... end, duration) 
sensors     : gps 
indiv. data : eobs.fix.battery.voltage, manually.marked.outlier, visible, sensor.type, individual.taxon.canonical.name, tag.local.identifier, individual.local.identifier, study.name, study.timezone, behavioural.classification 
indiv. value: 0 NA true gps Martes pennanti 74 Leroy Urban fisher GPS tracking Eastern Standard Time NA 
unused rec. : 1071 
date created: 2015-09-15 15:38:46 

$Ricky.T
class       : Move 
features    : 8958 
extent      : -73.94032, -73.8683, 42.82073, 42.851  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=longlat +ellps=WGS84 +datum=WGS84 +towgs84=0,0,0 
variables   : 20
names       :           timestamp, eobs.battery.voltage, eobs.horizontal.accuracy.estimate, eobs.key.bin.checksum, eobs.speed.accuracy.estimate,    eobs.start.timestamp, eobs.status, eobs.temperature, eobs.type.of.fix, eobs.used.time.to.get.fix, ground.speed, heading, height.above.ellipsoid, utm.easting, utm.northing, ... 
min values  : 2010-02-09 17:01:23,                 3449,                              2.05,                524362,                         0.22, 2010-02-09 17:00:00.000,           A,                0,                3,                         3,         0.00,    0.00,                    0.0,    586587.2,      4741523, ... 
max values  : 2010-03-31 17:31:26,                 3740,                             95.23,            4294919150,                        48.67, 2010-03-31 17:30:02.000,           A,              -12,                3,                       120,        43.12,  359.79,                 -315.6,    592500.3,      4744839, ... 
timestamps  : 2010-02-09 17:01:23 ... 2010-03-31 17:31:26 Time difference of 50 days  (start ... end, duration) 
sensors     : gps 
indiv. data : eobs.fix.battery.voltage, manually.marked.outlier, visible, sensor.type, individual.taxon.canonical.name, tag.local.identifier, individual.local.identifier, study.name, study.timezone, behavioural.classification 
indiv. value: NA NA true gps Martes pennanti 1016 Ricky.T Urban fisher GPS tracking Eastern Standard Time NA 
unused rec. : 1888 
date created: 2015-09-15 15:38:46 

$Leroy
class       : DBBMM 
dimensions  : 45, 23, 1035  (nrow, ncol, ncell)
resolution  : 560.9061, 560.9061  (x, y)
extent      : -6446.362, 6454.479, -12619.71, 12621.07  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=aeqd +ellps=WGS84 +lon_0=-73.89198935 +lat_0=42.77998765 
data source : in memory
names       : Leroy 
values      : 1.468942e-84, 0.5150152  (min, max)


$Ricky.T
class       : DBBMM 
dimensions  : 45, 23, 1035  (nrow, ncol, ncell)
resolution  : 560.9061, 560.9061  (x, y)
extent      : -6446.362, 6454.479, -12619.71, 12621.07  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=aeqd +ellps=WGS84 +lon_0=-73.89198935 +lat_0=42.77998765 
data source : in memory
names       : Ricky.T 
values      : 0, 0.2170543  (min, max)

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