Functions to retrieve DateTime and ID data from within (Spatial) data frames.
Source:R/AllMethod.R
trip-accessors.RdFunctions 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, ...)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.
Examples
tor <- TimeOrderedRecords(c("time", "id"))
getTORnames(tor)
#> [1] "time" "id"