Questions tagged [biwavelet]

`biwavelet` is an `R` package used to perform univariate and bivariate wavelet analyses. Wavelet analyses are resolved in the time and frequency domains, and thus ideal for identifying changes over time in the contribution of each frequency (or period) of a time series.

The biwavelet R package is a port of the WTC MATLAB program written by Aslak Grinsted and the wavelet program written by Christopher Torrence and Gibert P. Compo. This package can be used to perform univariate and bivariate wavelet analyses. Wavelet analyses are resolved in the time and frequency domains, and thus ideal for identifying changes over time in the contribution of each frequency (or period) of a time series.

22 questions
0
votes
1 answer

Date with Gaps - Wavelet Analysis in R Using Biwavelet Package

I am performing Wavelet Analysis using biwavelet package in R. The date variable does not have continuous dates but with gaps. When I try to create the graph, I get the following error. Error in check.datum(d) : The step size must be constant (see…
Ahmed Arif
  • 189
  • 1
  • 2
  • 10
0
votes
2 answers

biwavelet package: "cex.axis" not working in plot.biwavelet(); A bug?

I am using biwavelet package to conduct wavelet analysis. However, when I want to adjust the label size for axis using cex.axis, the label size does not changed. On the other hand, cex.lab and cex.main are working well. Is this a bug? The following…
Yang Yang
  • 858
  • 3
  • 26
  • 49
0
votes
1 answer

Wavelets plot: changing x-, y- axis, and color plot

I have a code that I am working on for hourly dataset and want to display a proper wavelet plot but I am having trouble adjusting it to my liking. I want to change the x-, y- axis and put up a color bar. I have successfully changed the x-axis,…
lurodrig
  • 99
  • 3
  • 8
0
votes
0 answers

Biwavelet: obtain correlation from coherence analysis

I'm using the biwavelet package in R for wavelet coherency analysis. I'm interested in obtaining the correlation (rsq) between the two time series at every time step. I am using the wtc.obj$rsq command, which returns a matrix with columns equal…
Tiffany
  • 301
  • 1
  • 2
  • 12
0
votes
1 answer

R image function - error with color/value scaling

I have a question about the R function image in the biwavelet package. This function is used to plot correlation values as the z in the image function. I'm plotting perfectly correlated data sets (R-squared=1 as my z-value). When the image is…
Tiffany
  • 301
  • 1
  • 2
  • 12
0
votes
0 answers

frequency of data for wavelet analysis

In the following example: require(biwavelet) t <- seq(1/24, 365, 1/24) A <- 10 fs <- 1/24 y <- A + sin(2*pi*fs*t) d <- cbind(t, y + rnorm(length(y))) wt.t1 <- wt(d) plot(wt.t1) If I am looking at the diurnal cycle of a given time series what is…
KatyB
  • 3,920
  • 7
  • 42
  • 72
-1
votes
2 answers

biwavelet package: how to set the "lag1" value for "wtc" function

I am using biwavelet package to conduct wavelet coherence analysis. I have a problem in setting the lag1 values (which should be a vector containing the AR(1) coefficient of each time series ) correctly. The following gives a reproducible example.…
Yang Yang
  • 858
  • 3
  • 26
  • 49
1
2