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:Danielle McCool [aut, cre]

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'))

Peer review:

Bug tracker:https://github.com/daniellemccool/topdowntimeratio/issues

On CRAN:

2.70 score 4 scripts 197 downloads 8 exports 7 dependencies

Last updated 2 years agofrom:2c8148b162. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-winNOTENov 08 2024
R-4.5-linuxNOTENov 08 2024
R-4.4-winNOTENov 08 2024
R-4.4-macNOTENov 08 2024
R-4.3-winOKNov 08 2024
R-4.3-macOKNov 08 2024

Exports:%>%getSegmentsgetSegsExtrameanFiltermedianFilterradiusOfGyrationDTsetuptdtr

Dependencies:cpp11data.tablegenericsgeodistlubridatemagrittrtimechange