Learn R Programming

trajr (version 1.0.0)

plot.TrajDirectionAutocorrelations: Plot method for direction autocorrelation

Description

The plot method for TrajDirectionAutocorrelations objects. Plots the direction autocorrelation function as returned by a call to link{TrajDirectionAutocorrelations}, with a optional dot at the first local minimum.

Usage

# S3 method for TrajDirectionAutocorrelations
plot(x, firstMinWindowSize = 10,
  type = "l", ylab = expression("C(" * Delta * s * ")"),
  xlab = expression(Delta * s), ...)

Arguments

x

Trajectory to be plotted.

firstMinWindowSize

If not NULL, specifies a window size used to calculate the first local minimum, which is then plotted as a point.

type, xlab, ylab

Defaults for plotting.

...

Additional arguments passed to plot.