Learn R Programming

trajr (version 1.5.1)

points.Trajectory: Add Trajectory points to a plot

Description

The points method for Trajectory objects.

Usage

# S3 method for Trajectory
points(x, draw.start.pt = TRUE, turning.angles = NULL, ...)

Arguments

x

An object of class "Trajectory", the trajectory to be plotted.

draw.start.pt

If TRUE, draws a dot at the start point of the trajectory.

turning.angles

If "random" or "directed", draws step turning angles. "directed" assumes errors are relative to the first recorded step angle. "random" assumes errors are relative to the previous step.

...

Additional arguments are passed to points.