topdowntimeratio
Top-Down Time Ratio Segmentation for Coordinate Trajectories
Description
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.
Downloads
224
Last 30 days
20453rd
687
Last 90 days
2.7K
Last year
Trend: -2.6% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-macos-arm64 | NOTE |
| r-devel-windows-x86_64 | NOTE |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | NOTE |
| r-release-linux-x86_64 | NOTE |
| r-release-macos-arm64 | NOTE |
| r-release-macos-x86_64 | NOTE |
| r-release-windows-x86_64 | NOTE |
Check details (14 non-OK)
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Check History
NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^
Rd files
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
14 | \item{data}{data.table returned from function /code{tdtr}}
| ^