Package: topdowntimeratio 0.1.0
topdowntimeratio: Top-Down Time Ratio Segmentation for Coordinate Trajectories
Data collected on movement behavior is often in the form of time- stamped latitude/longitude coordinates sampled from the underlying movement behavior. These data can be compressed into a set of segments via the Top- Down Time Ratio Segmentation method described in Meratnia and de By (2004) <doi:10.1007/978-3-540-24741-8_44> which, with some loss of information, can both reduce the size of the data as well as provide corrective smoothing mechanisms to help reduce the impact of measurement error. This is an improvement on the well-known Douglas-Peucker algorithm for segmentation that operates not on the basis of perpendicular distances. Top-Down Time Ratio segmentation allows for disparate sampling time intervals by calculating the distance between locations and segments with respect to time. Provided a trajectory with timestamps, tdtr() returns a set of straight- line segments that can represent the full trajectory. McCool, Lugtig, and Schouten (2022) <doi:10.1007/s11116-022-10328-2> describe this method as implemented here in more detail.
Authors:
topdowntimeratio_0.1.0.tar.gz
topdowntimeratio_0.1.0.zip(r-4.5)topdowntimeratio_0.1.0.zip(r-4.4)topdowntimeratio_0.1.0.zip(r-4.3)
topdowntimeratio_0.1.0.tgz(r-4.4-any)topdowntimeratio_0.1.0.tgz(r-4.3-any)
topdowntimeratio_0.1.0.tar.gz(r-4.5-noble)topdowntimeratio_0.1.0.tar.gz(r-4.4-noble)
topdowntimeratio_0.1.0.tgz(r-4.4-emscripten)topdowntimeratio_0.1.0.tgz(r-4.3-emscripten)
topdowntimeratio.pdf |topdowntimeratio.html✨
topdowntimeratio/json (API)
# Install 'topdowntimeratio' in R: |
install.packages('topdowntimeratio', repos = c('https://daniellemccool.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/daniellemccool/topdowntimeratio/issues
Last updated 2 years agofrom:2c8148b162. Checks:OK: 3 NOTE: 4. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 08 2024 |
R-4.5-win | NOTE | Nov 08 2024 |
R-4.5-linux | NOTE | Nov 08 2024 |
R-4.4-win | NOTE | Nov 08 2024 |
R-4.4-mac | NOTE | Nov 08 2024 |
R-4.3-win | OK | Nov 08 2024 |
R-4.3-mac | OK | Nov 08 2024 |
Exports:%>%getSegmentsgetSegsExtrameanFiltermedianFilterradiusOfGyrationDTsetuptdtr
Dependencies:cpp11data.tablegenericsgeodistlubridatemagrittrtimechange
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Get Segments | getSegments |
Get Segments with calculated data | getSegsExtra |
Perform one iteration of segmentation. Updates by reference and should be an internal function. | iterate |
Mean filter | meanFilter |
Median filter | medianFilter |
Radius of Gyration | radiusOfGyrationDT |
Set up a data.table for iterative segmentation | setup |
Split the difference when it comes to difftimes | splitDiffTime |
Perform Top-Down Time Ratio segmentation | tdtr |