mvspectrum-utils: S3 methods for class 'mvspectrum'

Description Usage Arguments See Also Examples

Description

S3 methods for multivariate spectrum estimation.

plot.mvspectrum plots all univariate spectra. Analogouos to spectrum when plot = TRUE.

Usage

1
2
## S3 method for class 'mvspectrum'
plot(x, log = TRUE, ...)

Arguments

x

an object of class "foreca.one_weightvector".

log

logical; if TRUE (default), it plots the spectra on log-scale.

...

additional arguments passed to matplot.

See Also

get_spectrum_from_mvspectrum

Examples

1
2
3
4
5
# see examples in 'mvspectrum'

SS <- mvspectrum(diff(log(EuStockMarkets)) * 100, 
                 spectrum.control = list(method = "multitaper"))
plot(SS, log = FALSE)

ForeCA documentation built on May 29, 2017, 9:09 a.m.