Welch power spectral density
Examples
morie_spectral_density(x = rnorm(50))
#> $frequencies
#> [1] 0.00000000 0.08333333 0.16666667 0.25000000 0.33333333 0.41666667 0.50000000
#>
#> $psd
#> [1] 0.1309824 0.1393438 0.6278395 1.0296176 0.6838897 0.6750327 1.0292368
#>
#> $n_segments
#> [1] 7
#>
#> $nperseg
#> [1] 12
#>
#> $fs
#> [1] 1
#>
#> $n
#> [1] 50
#>
#> $method
#> [1] "Welch PSD (Hann window, 50% overlap, base R)"
#>