Learn R Programming

trajr (version 1.0.0)

lines.Trajectory: Add Trajectory lines to a plot

Description

The lines method for Trajectory objects.

Usage

# S3 method for Trajectory
lines(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 lines.