Learn R Programming

qfa (version 4.0)

per: Periodogram (PER)

Description

This function computes the periodogram or periodogram matrix for univariate or multivariate time series.

Usage

per(y)

Value

vector or array of periodogram

Arguments

y

vector or matrix of time series s (if matrix, nrow(y) = length of time series)

Examples

Run this code
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