powered by
Method for check the regions where speed was lower than the defined parameter
speedCluster(track, avg, minT, sl)# S4 method for Track,numeric,numeric,numeric speedCluster(track, avg, minT, sl)
# S4 method for Track,numeric,numeric,numeric speedCluster(track, avg, minT, sl)
Represents a single trajectory followed by a person, animal or object
Is the average speed of track
Is the minimun period at the speed of track
Is the speed limit of track
Returns regions where speed was lower than the defined parameter
Order the speed so it will start with the slowest speed cluster
# NOT RUN { avgSpeed <- mean(A1@connections$speed) minSpeed <- min(A1@connections$speed) speed <- speedCluster(A1,avgSpeed,minSpeed,586) # }
Run the code above in your browser using DataLab