NEWS | R Documentation |

## News for Package 'biwavelet'

### Changes in biwavelet version 0.20.22 (2024-08-08)

#### fixed

Fixed interpretation of arrow directions in the documentation

### Changes in biwavelet version 0.20.21 (2021-05-24)

#### fixed

Merged PR from Dirk Eddelbuettel for defining STRICT_R_HEADERS in Rcpp

### Changes in biwavelet version 0.20.19 (2019-08-01)

#### fixed

Updated

`rcpp_wt_bases_paul.cpp`

to fix array out-of-bounds reading issue

### Changes in biwavelet version 0.20.18 (2018-08-29)

#### fixed

Updated

`plot.biwavelet`

help file with correct phase arrow interpretation

### Changes in biwavelet version 0.20.17 (2018-05-19)

#### fixed

Updated package by removing benchmarks in vignettes for CRAN submission

yaxis tickmarks should now be accurate (no more rounding issues)

### Changes in biwavelet version 0.20.16 (2018-03-26)

#### fixed

Fixed documentation for wtc function

### Changes in biwavelet version 0.20.15 (2017-03-01)

#### fixed

Fixed return NULL issues with Windows platforms

### Changes in biwavelet version 0.20.14 (2017-02-24)

#### fixed

Fixed

`plot.biwavelet`

so that the COI extends all the way to the bottom of the plot (max of periods)

### Changes in biwavelet version 0.20.13 (2016-12-27)

#### fixed

Fixed

`plot.biwavelet`

so that the`arrow.cutoff`

argument applies to rsq values for wtc and pwtc objects

### Changes in biwavelet version 0.20.12 (2016-12-27)

#### fixed

Fixed

`plot.biwavelet`

so that the`arrow.cutoff`

argument applies to rsq values

### Changes in biwavelet version 0.20.11 (2016-08-31)

#### added

Build vignettes

### Changes in biwavelet version 0.20.10 (2016-08-10)

#### fixed

Function

`phase.biwavelet`

now plots the regions whose significance exceeds`arrow.cutoff`

. If the object being plotted does not have a significance field, regions whose zvalues exceed the`arrow.cutoff`

quantile will be plotted.Fixed C++ warning about unsupported dynamically sized arrays

### Changes in biwavelet version 0.20.9 (2016-07-12)

#### fixed

Fixed handling of

`lag1`

coefficients in`wtc`

.

### Changes in biwavelet version 0.20.8 (2016-06-25)

#### fixed

Fixed handling of axis preferences in

`plot.biwavelet`

.

### Changes in biwavelet version 0.20.7 (2016-06-01)

#### fixed

Fixed handling of time in

`check.data`

.

### Changes in biwavelet version 0.20.6 (2016-06-01)

#### fixed

Fixed x-axis in

`plot.biwavelet`

.

### Changes in biwavelet version 0.20.3 (2016-05-08)

#### fixed

Fixed displacement of COI, contours and phase arrows in

`plot.biwavelet`

when adding a color bar.

### Changes in biwavelet version 0.20.2 (2016-05-06)

#### fixed

Fixed

`check.datum`

; hopefully for the last time.Faster wt bases and row quantile (Rcpp implementations):

The

`param`

parameter for all`rcpp_wt_bases_*`

must be within interval (0..10).The

`rcpp_row_quantile`

function requires a matrix as a parameter (use`as.matrix()`

for vectors).

### Changes in biwavelet version 0.19.2 (2016-05-03)

#### fixed

Fixed Rcpp implementation of the

`wt.bases`

functions, i.e.,`rcpp_wt_bases_*.cpp`

. Replacing`int`

type with`double`

type for`scale`

parameter which caused small scales to be rendered incorrectly.

### Changes in biwavelet version 0.19.1 (2016-04-29)

#### fixed

Fixed interpretation of phase differences in

`plot.biwavelet`

help file

#### changed

Added unit tests for approx 78% of the code.

Implemented a parallelized Monte Carlo simulation function

`wtc_sig_parallel`

which is 2 to 4 times faster on a 4-core CPU than the original`wtc.sig`

. The speedup is noticeable on:large simulations

`nrads >= 800`

,multiple simulations,

multi-core systems with 4+ cores.

However, parallelization involves a significant heat-up phase because all the workers need to be started and they need to load all the required packages. This will be addresses in future versions of biwavelet.

Added a speed-optimized version of

`convolve2D`

.Replaced standard

`arima.sim`

function with a pair of functions`get_minroots`

and`ar1_ma0_sim`

. These functions are still implemented in R. We can reimplement them later in C.Reimplemented

`wt.bases`

morlet, paul and dog in C.Removed unused function

`meshgrid`

.

### Changes in biwavelet version 0.17.11 (2015-10-09)

#### fixed

close all progress bars after use

Function

`wtc`

can now handle non-finite values when computing the quantiles of the rsq values from the Monte Carlo simulations

### Changes in biwavelet version 0.17.10 (2015-04-29)

#### fixed

Added ability to handle custom color palettes in

`plot.biwavelet`

. Users can now specify any color scheme using the`fill.cols`

argument.

### Changes in biwavelet version 0.17.9 (2015-04-29)

#### fixed

Fixed limited padding issue, which could lead to weird edge effects. Current padding level is identical to that of Torrence & Compo (1998).

Changed the default

`tol`

value from 0.95 to 1 in the`plot`

function.

### Changes in biwavelet version 0.17.8 (2015-04-28)

#### fixed

Added semi-transparent COI.

### Changes in biwavelet version 0.17.7 (2015-04-13)

#### fixed

Fixed

`check.datum`

function so that it does not assume a sampling frequency of 1.

### Changes in biwavelet version 0.17.6 (2015-04-05)

#### fixed

Added ability to set

`zlim`

in`plot.biwavelet`

.

### Changes in biwavelet version 0.17.5 (2014-11-05)

#### fixed

Improved the implementation of

`phase.plot`

to allow for much better looking phase arrows (thanks Huidong Tang).

### Changes in biwavelet version 0.17.4 (2014-11-04)

#### fixed

Made function

`wt`

faster by avoiding excessive padding (thanks Huidong Tang).

### Changes in biwavelet version 0.17.3 (2014-04-27)

#### fixed

Made

`check.datum`

tolerate slight inconsistencies in the size of timesteps.

### Changes in biwavelet version 0.17.2 (2014-04-11)

#### fixed

Added arguments in

`plot.biwavelet`

and`phase.plot`

to control the length of the phase arrows and the size of the arrow heads independently.

### Changes in biwavelet version 0.17.1 (2013-07-15)

#### fixed

Fixed code in

`check.data`

to test for constant step size in the data.

### Changes in biwavelet version 0.17 (2013-06-05)

#### added

Function

`pwtc`

can be used to perform partial wavelet coherence between two time series`y`

and`x1`

by controlling for (or partialling-out) a third time series`x2`

.

### Changes in biwavelet version 0.16 (2013-05-07)

#### added

Users can now specify the density of the phase arrows using the

`plot`

function.

#### fixed

Fixed bug in

`wt`

affecting the significance region (thanks Patrick Kilduff and Flora Cordoleani).

### Changes in biwavelet version 0.15 (2013-04-08)

#### added

Users can now specify the color, line width and line type for the COI, significance contours and phase arrows using the

`plot`

function.

#### fixed

Removed misleading examples showing how to compute the 'bias-corrected' wavelet coherence. There is no bias for the wavelet coherence function, so using the default

`type`

argument in the`plot`

function is recommended.Fixed typos in the documentation of plot.biwavelet and xwt (thanks Lei Cheng).

### Changes in biwavelet version 0.14 (2013-03-06)

#### added

As of biwavelet version 0.14, the bias-corrected wavelet and cross-wavelet spectra are automatically computed and plotted by default using the methods described by Liu et al. (2007) and Veleda et al. (2012). This correction is needed because the traditional approach for computing the power spectrum (e.g., Torrence and Compo 1998) leads to an artificial and systematic reduction in power at lower periods.

#### fixed

Plotting function now accepts traditional plotting flags such as xaxt and yaxt to control x and y tickmarks.