Search code examples
rspectral-density

How does we calculate PSD of a dataset in R


I have a dataset of EEG signals over a period of time and I need to calculate PSD observation of it.

In matlab I can calculate the PSD of a signal, for that I have a built in function.

Does R have a function to calculate the PSD observation of a dataset ?


Solution

  • Googling for r power spectral density lead me to the spectrum function.