Learn R Programming

trip (version 1.1-1)

trip-class: Class "trip" ~~~

Description

An extension of "SpatialPointsDataFrame" by including "TimeOrderedRecords". The records within the data frame are explicitly ordered by DateTime data within IDs.

Arguments

Objects from the Class

Objects can be created by calls of the form trip(obj = "SpatialPointsDataFrame", TORnames = "TimeOrderedRecords". The object contains all the slots present within a SpatialPointsDataFrame, particularly data which contains columns of at least those specified by TOR.columns

Extends

Class "TimeOrderedRecords", directly. Class "SpatialPointsDataFrame", directly. Class "SpatialPoints", by class "SpatialPointsDataFrame". Class "Spatial", by class "SpatialPointsDataFrame".

Warning

There are some kludges to allow trip to do things, such as replace POSIXt column data using "$<-.trip" and "[[<-.trip" which should not be necessary once sp implements the new data.frame class of R >=2.4.0.

See Also

trip for examples of directly using the class.