difftrack-class: Class "difftrack"

Description Objects from the Class Slots Methods Author(s) Examples

Description

Class that represents differences between two Track objects.

Objects from the Class

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.

Slots

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

Methods

plot

signature(x = "difftrack", y = "missing"): plot a difftrack

Author(s)

Nikolai Gorte <n.gorte@gmail.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
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)

trajectories documentation built on March 16, 2021, 5:09 p.m.