owMeratniaByCollection: Ow Meratnial By Collection

Description Usage Arguments Value Author(s) Examples

Description

Method that reduces a set of trajectories spatiotemporally

Usage

1
2
3
4
5
owMeratniaByCollection(A1, dist, speed)

## S4 method for signature 'TracksCollection,numeric,numeric'
owMeratniaByCollection(A1, dist,
  speed)

Arguments

A1

Represents a collection of trajectories followed by different persons, animals or objects

dist

Distance time series

speed

Speed of object

Value

Trajectory spatiotemporally reduced

Author(s)

Diego Monteiro

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(magrittr)

library(sp)

library(ggplot2)
ow <-owMeratniaByCollection(tracksCollection,13804.84 ,0.03182201) %>% coordinates()

df <- data.frame(x=ow[,1],y=ow[,2])

ggplot(df,aes(x=x,y=y))+geom_path(aes(group = 1), arrow = arrow(),color='blue')

INPEtrajectories/TrajDataMining documentation built on May 18, 2019, 8:11 p.m.