preACF: Estimate the autocorrelation function before interpolating...

Description Usage Arguments Value

Description

Estimate the acf for step length before interpolating the data.

Usage

1
2
3
4
5
preACF(object, ...)

## S4 method for signature 'Data4M'
preACF(object, Time.Step, units = "hrs",
  lag.max = 30, kernel = "gaussian", kernel.width = "default")

Arguments

object

An object of or inheriting from class Data4M.

Time.Step

The time interval used for the regular time grid.

units

Can be one of days, hrs, mins, or secs.

lag.max

The maximum lag to compute.

kernel.width

The bandwidth of the kernel used in weighting pairs of observations. Note that the time differences are standardized to have mean 1. The default setting depends on the kernel used.

kernel.type

Which kernel to use? Can be one of "rectangle", "sinc", or "gaussian". Can also supply a user-defined function that takes the arguments d, kernel.width, and n.

Value

An object of class acf, which is a list containing the following elements:


lawlerem/markmodmover documentation built on Feb. 12, 2020, 8:30 p.m.