spec_welch.Rd
calculate the spectra and cross-spectra. The scaling of individual series requires a closer look.
spec_welch(x, n_subsets = 10, overlap = 0.5, window = window_hann, demean = TRUE, detrend = TRUE, ...)
x |
|
---|---|
n_subsets | number of subsets (integer) |
overlap | amount of overlap 0.0 < overlap < 1.0 (numeric) |
window | window function to apply (function). The options are window_hann, window_hamming, window_blackman, window_nuttall, window_blackman_nuttall, window_blackman_harris |
demean | should the mean be removed from x prior to calculation (logical) |
detrend | should the x be detrended to calculation (logical) |
... | not used |
array of spectra