fftsurrog {wsyn}R Documentation

Surrogate time series using Fourier surrogates

Description

Creates surrogate time series using Fourier surrogates

Usage

fftsurrog(dat, nsurrogs, syncpres)

Arguments

dat

A locations x time matrix of observations

nsurrogs

The number of surrogates to produce

syncpres

Logical. TRUE for "synchrony preserving" surrogates (same phase randomizations used for all time series). FALSE leads to independent phase randomizations for all time series.

Value

fftsurrog returns a list of nsurrogs surrogate datasets

Note

For internal use, no error checking

Author(s)

Jonathan Walter, jaw3es@virginia.edu; Lawrence Sheppard, lwsheppard@ku.edu; Daniel Reuman, reuman@ku.edu

References

Sheppard, LW, et al. (2016) Changes in large-scale climate alter spatial synchrony of aphid pests. Nature Climate Change. DOI: 10.1038/nclimate2881

Schreiber, T and Schmitz, A (2000) Surrogate time series. Physica D 142, 346-382.

Prichard, D and Theiler, J (1994) Generating surrogate data for time series with several simultaneously measured variables. Physical Review Letters 73, 951-954.


[Package wsyn version 1.0.4 Index]