Extracts objects of class SpatialTrajectory.

getSpatialTrajectory(object, id)

getSpatialTrajectories(object, ids = NULL)

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

id

Character value. Denotes the spatial trajectory of interest.

ids

Character vector. Denotes the spatial trajectories of interest.

Value

An object of class SpatialTrajectory in case of getSpatialTrajectory() or a named list of SpatialTrajectory objects in case of getSpatialTrajectories(). An empty list if nSpatialTrajectories() == 0.