difftrack-class | R Documentation |
Class that represents differences between two Track objects.
Objects can be created by calls of the form new("difftrack", ...)
.
Objects of class difftrack
contain 2 objects of class Track
extended with points for timestamps of the other track and 2
SpatialLinesDataFrame conataining the the lines and distances between tracks.
track1
:Extended track1
track2
:Extended track2
conns1
:Lines between the original track1 and the new points on track2
conns2
:Lines between the original track2 and the new points on track1
signature(x = "difftrack", y = "missing")
: plot a difftrack
Nikolai Gorte <n.gorte@gmail.com>
showClass("difftrack")
## example tracks
library(sp)
library(xts)
data(A3)
track2 <- A3
index(track2@time) <- index(track2@time) + 32
track2@sp@coords <- track2@sp@coords + 0.003
## compare and plot
difftrack <- compare(A3, track2)
plot(difftrack)
## space-time cube of the difftrack
## Not run:
stcube(difftrack)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.