Learn R Programming

TrajDataMining (version 0.1.6)

directionCluster: Direction Cluster

Description

That given a Track and maximum change parameter, returns regions where direction changed more than the defined parameter

Usage

directionCluster(track, minD, minT, tolerance)

# S4 method for Track,numeric,numeric,numeric directionCluster(track, minD, minT, tolerance)

Arguments

track

Represents a single trajectory followed by a person, animal or object

minD

Is the minimun direction change

minT

Is the minimun period at the speed

tolerance

Is the maximum change parameter

Value

returns regions where direction changed more than the defined parameter

Examples

Run this code
# NOT RUN {
cluster<-createSpatialCluster(A1,directionCluster(A1,5,10,2))

# }

Run the code above in your browser using DataLab