Author: Yong-Han Hank Cheng

This package allows you to generate and compare power spectral density (PSD) plots given time series data. Fast Fourier Transform (FFT) is used to take a time series data, analyze the oscillations, and then output the frequencies of these oscillations in the time series in the form of a PSD plot.

Thus given a time series, the dominant frequencies in the time series can be identified. Additional functions in this package allow the dominant frequencies of multiple groups of time series to be compared with each other.

To see example usage with the main functions of this package, please visit this site:

The mathematical operations used to generate the PSDs are described here:

“Fft.” Fast Fourier transform - MATLAB. Accessed May 25, 2021.

“Signal Analyzer.” MATLAB & Simulink. Accessed May 25, 2021.


# Install the package from GitHub
# Load package


Source code:

Visit the package’s website:

Visit this vignette for example usage:

Visit this vignette for example output for each function usage:


The psdr package is licensed under the GPL (>=3) license. The logo is licensed under the CC BY 4.0 license.


This package was developed in part during my time at the NIH as a postbac researcher. Acknowledgements to: