spec_welch: spec_welch

Description Usage Arguments Value

Description

calculate the spectra and cross-spectra. The scaling of individual series requires a closer look.

Usage

1
2
spec_welch(x, n_subsets = 10, overlap = 0.5, window = window_hann,
  demean = TRUE, detrend = TRUE, ...)

Arguments

x

numeric matrix univariate or multivariate time series

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

Value

array of spectra


jkennel/waterlevel documentation built on Dec. 1, 2019, 6:24 p.m.