View source: R/helper_functions.R
spec_dsp | R Documentation |
Compute the spectrum of an AR(p) model
spec_dsp(ar_coefs, sigma_e, n.freq = 500)
ar_coefs |
(p x 1) vector of AR(p) coefficients |
sigma_e |
observation standard deviation |
n.freq |
number of frequencies at which to evaluate the spectrum |
A (n.freq x 2) matrix where the first column is the frequencies and the second column is the spectrum evaluated at that frequency
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.