I am trying to obtain periodogram of my time-series data.
My data contains time values and intensity values, which are listed in a data frame.
I used spectrum() to obtain periodogram and obtained a power values for each frequency. But I wonder why the function does not require time values. Is there any other function to include time values for periodogram? Or, am I doing something wrong? The time values are numeric.
Thank you in advance.