Displaying 1 result from an estimated 1 matches for "wosa".
Did you mean:
cosa
2010 Apr 03
0
smoothing with sapa package and decibel function
Hello,
I'm new to R.
In Sapa package there's an example for function SDF like
data <- as.numeric(sunspots)
methods <- c("direct","wosa","multitaper","lag window")
S <- lapply(methods, function(x, data) SDF(data, method=x), data)
x <- attr(S[[1]], "frequency")[-1]
y <- lapply(S,function(x) decibel(as.vector(x)[-1]))
which works fine, but if I use some taper, e.g.
S=SDF(data, method=&quo...