Learn R Programming

⚠️There's a newer version (1.10.0) of this package.Take me there.

Tools for animal track data

The trip package provides functions for accessing and manipulating spatial data for animal tracking. Filter for speed and create time spent plots from animal track data.

Installing

The package is easily installed from CRAN in R.

install.packages("trip")

Install dev version

To install the development package from Github, use devtools:

devtools::install_github("mdsumner/trip")

TODO

  • Probability image. The SGAT (and tripEstimation) packages have functions for dealing with spatial track summaries that are atomized to the level of each time step. There are methods for combining summaries from multiple tracks and for casting arbitrary durations (by sum) to standard image structures. This would be a good feature to replace the existing tripGrid function by storing the individual grid summaries for each implicit line segment.

  • Coercion to/from other classes See spbabel.

  • Validation Must include a detailed report object of where the problems are, and how to filter/fix/flush them.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Copy Link

Version

Install

install.packages('trip')

Monthly Downloads

840

Version

1.5.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

October 18th, 2016

Functions in trip (1.5.0)

oc.theme

SeaWiFS ocean colour colours
as.trip

Coercion from other classes to trip objects
forceCompliance

Function to ensure dates and times are in order with trip ID
homedist

Calculate maximum distance from 'home' for each trip
as.Other

As ("trip", other-classes)
filter.penSS

Non-destructive smoothing filter
sepIdGaps

Separate a set of IDs based on gaps
sda

Filter track for speed, distance and angle.
argos.sigma

Assign numeric values for Argos "class"
adjust.duplicateTimes

Adjust duplicate DateTime values
rasterize

Rasterize trip objects based on line-segment attributes.
trackDistance

Determine distances along a track
readArgos

Read Argos "DAT" or "DIAG" files
trackAngle

Determine internal angles along a track
TimeOrderedRecords

TimeOrderedRecords
trip-accessors

Functions to retrieve DateTime and ID data from within (Spatial) data frames.
speedfilter

Filter track data for speed
trip-methods

Function to handle animal track data, organized as "trip"s
TimeOrderedRecords-class

A class for the identifiers of DateTime and ID records in spatial data.
trip-class

A class for sets of animal trips (track data).
trip.split.exact

Deprecated functions in trip
tripGrid.interp

Generate a grid of time spent using approximate methods
walrus818

Walrus tracking data set.
trip-package

trip.
trip-internal

Internal trip Functions
tripGrid

Generate a grid of time spent by line-to-cell gridding
cut.trip

Split trip events into exact time-based boundaries.
makeGridTopology

Generate a GridTopology from a Spatial object