Description Usage Arguments Author(s) Examples
This function allows to interpolate trajectories. It does this on the basis of a simple interpolation, depending on the spaceMethod
that is specified.
1 | interpolateTime(x, time, spaceMethod=c('euclidean','greatcircle','rhumbline'),...)
|
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 |
spaceMethod |
a character that indicates the interpolation function to be used |
... |
other arguments currently not used |
Bart Kranstauber
1 2 | data(leroy)
plot(interpolateTime(leroy[1:200,], 700,'gr'))
|
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.