powered by
This function computes the periodogram or periodogram matrix for univariate or multivariate time series.
per(y)
vector or array of periodogram
vector or matrix of time series s (if matrix, nrow(y) = length of time series)
y <- stats::arima.sim(list(order=c(1,0,0), ar=0.5), n=64) y.per <- per(y) plot(y.per)
Run the code above in your browser using DataLab