Can anyone help me to solve this issue?I want to use the function Analyze.Coherency but it seems to be absent in R version 3.3.3

my.wc <- analyze.coherency(, c("t1","t2"),loess.span = 0.75,dt = 1, dj = 1/20,

  • window.size.t = 1, window.size.s = 1,lowerPeriod = 2,make.pval = TRUE, n.sim = 100,
  • date.format = "NULL", = "NULL")
    Error: could not find function "analyze.coherency"

install.packages("analyze.coherency", dependencies = FALSE, lib="/Library/Frameworks/R.framework/Versions/3.3/Resources/library")
Warning in install.packages :
package ‘analyze.coherency’ is not available (for R version 3.3.3)

R 3.3 is really old. Can you try upgrading and installing again (current R version is 3.6.1)?

Are you sure that the package is called analyze.coherency as well?
I found that the function analyze.coherency is part of the package WaveletComp.
So instead try to :


Thank you now it is working.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.