Learn R Programming

trajr (version 1.0.0)

TrajReverse: Reverse a trajectory

Description

Reverses the direction of a trajectory, so that the starting point becomes the last point and vice versa.

Usage

TrajReverse(trj)

Arguments

trj

The Trajectory to be reversed.

Value

A copy of trj with direction reversed.