Description Usage Arguments Value Examples
This function computes and plots a raw periodogram. This function may produce inaccurate results on stochastic data.
1 |
x |
x a numeric vector |
sf |
Sampling frequency in Hz. If specified the power spectrum will be plotted with Hz instead of normalised frequency on the x-axis. |
plot |
Whether or not to plot the periodogram. If more than one series is used only the first will be plotted. |
amp |
Whether or not to return the amplitude spectrum. |
phase |
Whether or not to return the phase spectrum. |
N |
Length of Fourier transform used to compute spectrum. If NULL N will be chosen for speed and not to prevent scalloping loss. |
Returns the periodogram and optionally plots it.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.