Package: topdowntimeratio
Type: Package
Title: Top-Down Time Ratio Segmentation for Coordinate Trajectories
Version: 0.1.0
Authors@R: person("Danielle", "McCool", email = "d.m.mccool@uu.nl",
    role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7055-7539"))
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. 
License: GPL (>= 3)
Encoding: UTF-8
Imports: data.table (>= 1.9.8), geodist (>= 0.0.4), lubridate,
        magrittr, stats
Depends: R (>= 4.1)
RoxygenNote: 7.2.1
Suggests: spelling, testthat
Language: en-US
NeedsCompilation: no
Packaged: 2022-09-21 22:39:04 UTC; Mccoo002
Author: Danielle McCool [aut, cre] (<https://orcid.org/0000-0002-7055-7539>)
Maintainer: Danielle McCool <d.m.mccool@uu.nl>
Repository: CRAN
Date/Publication: 2022-09-22 08:50:02 UTC
Built: R 4.6.0; ; 2026-04-26 02:09:46 UTC; unix
