interpolateTime: Interpolate a trajectory

Description Usage Arguments Author(s) Examples

Description

This function allows to interpolate trajectories. It does this on the basis of a simple interpolation, depending on the spaceMethod that is specified.

Usage

1
	interpolateTime(x, time, spaceMethod=c('euclidean','greatcircle','rhumbline'),...)

Arguments

x

an object of the Move-class

time

either timestamps, or a number of locations or time interval that is used to generate a sequence of timestamps using the seq function

spaceMethod

a character that indicates the interpolation function to be used

...

other arguments currently not used

Author(s)

Bart Kranstauber

Examples

1
2
  data(leroy)
  plot(interpolateTime(leroy[1:200,], 700,'gr'))

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 

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