Description Usage Arguments Value Examples
data.frame to Track
1 |
d |
a data.frame or an object inheriting from it |
y |
column name (character vector). The latitude. |
x |
column name (character vector). The longitude. |
dt |
column name (character vector). datetime |
projection |
character vector. if missing will default to '"+proj=longlat +ellps=WGS84"' with a warning. |
A Track
1 2 3 4 5 6 7 | require(data.table)
data(pesa56511)
x = data.frame(pesa56511) %>% data.table
o = dt2Track(x, projection = sp::proj4string(pesa56511) )
a = tdbscan(pesa56511, eps =6600, minPts = 8, maxLag = 6, borderPoints = TRUE )
b = tdbscan(o, eps =6600, minPts = 8, maxLag = 6, borderPoints = TRUE )
identical(a, b)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.