Skip to content
Prev 350900 / 398502 Next

Cross correlation between two time series over nested time periods?

On 2015-05-14 , at 02:11, Tim via R-help <r-help at r-project.org> wrote:
Hello Tim,


Re:
The auto- and crosscorrelation functions are in the stats package:

acf(x, lag.max = NULL,
    type = c("correlation", "covariance", "partial"),
    plot = TRUE, na.action = na.fail, demean = TRUE, ...)

ccf(x, y, lag.max = NULL, type = c("correlation", "covariance"),
    plot = TRUE, na.action = na.fail, ...)

See further: ?ccf

Succes and
Best wishes,


Frank
---



Franklin Bretschneider
Dept of Biology
Utrecht University
bretschr at xs4all.nl