compute autocorrelations

stats.autocor(x, lag.max = 0.25, type = "correlation", columns = NULL,
  circular = FALSE, circ.units = "deg")

Arguments

x
The data. Either a filename or a data frame with values.
lag.max
The maximal correlation lag. If < 1, expressed in fractions of total length.
type
One of c("correlation", "covariance")
columns
The selected observables for which the autocorrelation should be computed. If NULL: compute all.
circular
Compute autocorrelation for circular variables (e.g. dihedral angles).
circ.units
Circular units, one of c("deg", "rad")