plot.TrajDirectionAutocorrelations: Plot method for direction autocorrelation

View source: R/dirn_autocorr.R

plot.TrajDirectionAutocorrelationsR Documentation

Plot method for direction autocorrelation

Description

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

Usage

## S3 method for class '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.


trajr documentation built on July 9, 2023, 6:03 p.m.