trip-accessors: Functions to retrieve DateTime and ID data from within...

trip-accessorsR Documentation

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

Description

Functions for retrieving the names of the columns used for DateTime and ID, as well as the data.

Usage

getTORnames(obj)

getTimeID(obj)

## S3 method for class 'summary.TORdata'
print(x, ...)

Arguments

obj

trip object.

x

trip object

...

currently ignored

Value

getTORnames retrieves the column names from an object extending the class TimeOrderedRecords, and getTimeID returns the data as a data frame from an object extending the class TimeOrderedRecords.

See Also

trip-class, for the use of this class with SpatialPointsDataFrame-class.

trip

Examples



tor <- TimeOrderedRecords(c("time", "id"))
getTORnames(tor)


mdsumner/trip documentation built on July 7, 2023, 3:50 p.m.