View source: R/SpecInterpolate.R
SpecInterpolate | R Documentation |
Interpolate a spectrum to a given frequency resolution. The interpolation includes the spectral estimates themselves as well as their degrees of freedom.
SpecInterpolate(spec, freqRef, check = TRUE)
spec |
a spectral object of class |
freqRef |
numeric vector with the target frequency resolution. |
check |
logical; if |
a spectral object of class "spec"
with the spectrum
interpolated to the target resolution.
Thomas Laepple
freqRef <- seq(0.1, 0.5, 0.1)
spec <- list(freq = c(0.1, 0.2, 0.4, 0.5), spec = c(1, 2, 4, 5),
dof = rep(1, 4))
SpecInterpolate(spec, freqRef)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.