Skip to contents

Trip objects

Create and access trip objects.

trip-package
trip.
trip-class lines,trip-method plot,trip,missing-method show,trip-method show,summary.TORdata-method summary,trip-method subset,trip-method
A class for sets of animal trips (track data).
trip() `trip<-`() split(<trip>,<ANY>) `[`(<trip>,<ANY>,<ANY>,<ANY>)
Function to handle animal track data, organized as trip objects
TimeOrderedRecords-class
A class for the identifiers of DateTime and ID records in spatial data.
TimeOrderedRecords()
TimeOrderedRecords
getTORnames() getTimeID() print(<summary.TORdata>)
Functions to retrieve DateTime and ID data from within (Spatial) data frames.

Coercion

Convert to and from other track and spatial classes.

as.trip() ltraj2trip()
Coercion from other classes to trip objects
as.ppp(<trip>) as.psp(<trip>) as.track_xyt.trip() explode()
As ("trip", other-classes)
reproj(<trip>)
Reprojection

Reading and writing

readArgos() readDiag()
Read Argos "DAT" or "DIAG" files
write_track_kml()
Create a time-continuous KML file

Cleaning and filtering

Order, repair and filter tracks.

forceCompliance()
Function to ensure dates and times are in order with trip ID
adjust.duplicateTimes()
Adjust duplicate DateTime values
sepIdGaps()
Separate a set of IDs based on gaps
speedfilter()
Filter track data for speed
sda()
Filter track for speed, distance and angle.
argos.sigma()
Assign numeric values for Argos "class"

Track metrics

trackAngle()
Determine internal angles along a track
trackDistance()
Determine distances along a track
homedist()
Calculate maximum distance from 'home' for each trip
interp_equal()
Track intermediate points

Time spent gridding

Summarise time spent on a grid.

tripGrid()
Generate a grid of time spent by line-to-cell gridding
tripGrid.interp() kdePoints() countPoints()
Generate a grid of time spent using approximate methods
rasterize(<trip>,<missing>) rasterize(<trip>,<RasterLayer>)
Rasterize trip objects based on line-segment attributes.
makeGridTopology()
Generate a GridTopology from a Spatial object
cut(<trip>)
Split trip events into exact time-based boundaries.

Colours and data

oc.theme() oc.colors()
SeaWiFS ocean colour colours
walrus818
Walrus tracking data set.
world_north
World north polygons

Deprecated and internal