Description Usage Arguments Value Note Author(s)

Worker/utility function serving the analysis carried out in synmat for methods based on coherence or real part of the cross-wavelet transform.

1 | ```
wavmatwork(dat, times, scale.min, scale.max.input, sigma, f0, norm, treatment)
``` |

`dat` |
A locations (rows) x time (columns) matrix of measurements |

`times` |
The times at which measurements were made, spacing 1 |

`scale.min` |
The smallest scale of fluctuation that will be examined. At least 2. Used only for wavelet-based methods. |

`scale.max.input` |
The largest scale of fluctuation guaranteed to be examined. Only used for wavelet-based methods. |

`sigma` |
The ratio of each time scale examined relative to the next timescale. Should be greater than 1. Only used for wavelet-based methods. |

`f0` |
The ratio of the period of fluctuation to the width of the envelope. Only used for wavelet-based methods. |

`norm` |
The normalization of wavelet transforms to be used. One of "none", "phase", "powind". |

`treatment` |
Either "Mod" or "Re" |

`wavmatwork`

returns a list consisting of:

`timescales` |
The timescales of analysis |

`wavarray` |
An array, locations by locations by timescales, containing either the
coherences (for |

Internal function, no error checking done.

Daniel Reuman, reuman@ku.edu

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.