trip-accessors {trip} | R 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 |
|
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
.
Examples
tor <- TimeOrderedRecords(c("time", "id"))
getTORnames(tor)
[Package trip version 1.10.0 Index]