TimeOrderedRecords-class {trip} | R Documentation |
A simple class to act as a place-holder for DateTime and ID records in spatial data
Objects can be created by calls of the form new("TimeOrderedRecords", TOR.columns)
.
TOR.columns
are a 2-element character vector specifying the DateTime and ID columns in an
object of class trip
.
TOR.columns
:"character"
signature(obj = "ANY", TORnames = "TimeOrderedRecords")
: create a trip
object from a data frame signature(obj = "trip", TORnames = "TimeOrderedRecords")
: create a trip
object from an existing trip
object Future versions may change significantly, this class is very basic and could probably be implemented in a better way. Specifying TOR columns by formula would be a useful addition.
Michael D. Sumner
~put references to the literature/web site here ~
See Also trip
for creating trip objects, and
trip-class
for the class.
tor <- new("TimeOrderedRecords", TOR.columns = c("datetime", "ID")) tor <- TimeOrderedRecords(c("datetime", "ID"))