Windowed Cross Correlation
Overview
Calculates Windowed Cross Correlation for pairs of time series. Provides support for surrogate analysis for nonparametric test of significance. Calculates aggregate statistics over a range of parameter values. Plots the results as Windowed Cross Correlation plots and heat maps. The software is described in Boker, S. M., Rotondo, J. L., Xu, M., & King, K. (2002). Windowed cross-correlation and peak picking for the analysis of variability in the association between behavioral time series. Psychological Methods, 7(3), 338.
2026-09-23 Steven Boker <smb3u@virginia.edu>
Bug fixes:
1. Added warning to wccPlot when requested startwindow or endwindow is out of range.
Manual edits and additions:
1. wccTestSurrogateDyads
Additions:
1. Added function wccTestSurrogateDyads which is just a convenience wrapper for
wccFindDyadParam. This will be used when people have found a set of parameters
and now want to test their data against surrogates.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-22
- ERROR12 OK, 1 ERROR2026-07-18
- OK8 OK2026-04-22
Documentation
- Help pages
- 14 (2 internal)includes a package overview page
- Examples that run
- 58%7 run in a plain check · 5 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 79%
Also includes 2 demo scripts (run with demo())
Downloads
Dependencies
Installing wcc adds 12 packages (4 with compiled code, 4.5 MB of source tarballs). Heaviest: farver 1.2 MB, viridisLite 1.2 MB, rlang 766 KB.
Code & Tests
People & History
Package metadata
- First published
- 2026-04-21
- Total releases
- 4 / 1 yrs
- License
- Apache License (== 2.0)
- Minimum R
- ≥ 4.1.0
- Download size
- 43 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("wcc")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.