Learn R Programming

trajr (version 1.5.1)

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)

Value

A copy of trj with direction reversed.

Arguments

trj

The Trajectory to be reversed.