Learn R Programming

mvcwt (version 1.3.1)

wmr.boot: Boot strap p-values for wavelet modulus ratio

Description

Performs a phase-randomization bootstrap estimate of the null hypothesis of independent time series

Usage

wmr.boot(w, smoothing = 1, reps = 1000, mr.func = "wmr")

Arguments

w

an object such as returned by mvcwt

smoothing

degree of smoothing; larger values give greater smoothing

reps

number of repetitions

mr.func

a function taking a "mvcwt" object to be applied to each trial

Value

an object of class "mvcwt" suitable for use with contour.mvcwt.

Details

The phases are randomized reps times for each combination of input variable and scale. This package depends heavily on the dopar function in the foreach package. If you do not have a lot of cores available to you, you may need to let this run overnight.

References

Keitt, T. H. 2008. Coherent ecological dynamics induced by large-scale disturbance. Nature 454:331-4. doi:10.1038/nature06935.

See Also

mvcwt, wmr