TimeOrderedRecords {trip} | R Documentation |
Specifies the DateTime and ID data within a data frame for objects of class trip
. Functions
also for obtaining the names of the columns used, and the data itself.
TimeOrderedRecords(x) getTORnames(obj) getTimeID(obj)
x |
Character vector of 2-elements, specifying the data columns of DateTimes and IDs. |
obj |
trip object. |
These simple functions are for creating classes with TimeOrdered data. The main use is for
SpatialPointsDataFrames which are used with TimeOrderedRecords for the class trip
.
TimeOrderedRecords
returns an object with a 2-element character vector, specifying the columns names.
getTORnames
obtains the column names from an object extending the class, and getTimeID
returns the
data as a data frame from an object extending the class.
....
~~further notes~~
~Make other sections like Warning with section{Warning }{....} ~
~~who you are~~
~put references to the literature/web site here ~
trip
, for the use of this class with SpatialPointsDataFrame
tor <- TimeOrderedRecords(c("time", "id")) getTORnames(tor)