Obtain trajectory object

getTrajectoryObject(object, trajectory_name, of_sample = "")

Arguments

object

A valid spata-object.

trajectory_name

The trajectory of interest specified as a single character value.

of_sample

The sample(s) of interest specified as a single character value or vector. If set to "" (the default) the first sample is chosen.

Value

An object of class spatialTrajectory.