wmr: Compute the wavelet modulus ratio of multivariate data

Description Usage Arguments Value Author(s) References See Also Examples

Description

Computes the wavelet modulus ratio described in Keitt (2008). A value of one indicated perfect synchrony among time series and a value of zero, perfect compensation.

Usage

1
wmr(w, smoothing = 1)

Arguments

w

an object such as returned by mvcwt

smoothing

width of smoothing kernel; larger values give more smoothing

Value

an object of class "mvcwt"

Author(s)

Timothy H. Keitt

References

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

See Also

mvcwt, image.mvcwt

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
data(lrlake)
x = subset(lrlake, Basin == "Treatment", LRL.Day) / 365.25
y = subset(lrlake, Basin == "Treatment", -(1:8))
w = mvcwt(x, y, min.scale = 0.25, max.scale = 4)
mr = wmr(w)
image(mr, reset.par = FALSE)
contour(mr, bound = NA, add = TRUE)
## End(Not run)

mvcwt documentation built on May 2, 2019, 1:59 p.m.