Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fftsurrog

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.


wsyn

Wavelet Approaches to Studies of Synchrony in Ecology and Other Fields

v1.0.3
GPL-3
Authors
Daniel C. Reuman [aut, cre], Thomas L. Anderson [aut], Jonathan A. Walter [aut], Lei Zhao [aut], Lawrence W. Sheppard [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.