Power spectral density using Welch's method.
pwelch(x, sRate, points = 0, overlap = 0, padding = 0, show = TRUE)
Sample rate of the signal.
peridodogram plotted or raw
Welch, P. “The Use of Fast Fourier Transform for the Estimation of Power Spectra: A Method Based on Time Averaging over Short, Modified Periodograms.” IEEE Transactions on Audio and Electroacoustics 15, no. 2 (June 1967): 70–73. https://doi.org/10.1109/TAU.1967.1161901.