plot.gibbs_psd {beyondWhittle}R Documentation

Plot method for gibbs_psd class

Description

Plot method for gibbs_psd class

Usage

## S3 method for class 'gibbs_psd'
plot(x, pdgrm = T, credib = "both", log = T, ...)

Arguments

x

an object of class gibbs_psd

pdgrm

bool flag indicating whether periodogram is visualized or not

credib

string indicating which credible regions are visualized. Possible values are "pointwise", "uniform", "both" and "none".

log

logical value to determine if the individual spectra are visualized on a log scale

...

further arguments to be parsed to plot.default

Details

Visualizes the spectral density estimate (pointwise posterior median), along with the periodogram and credibility regions. If the data has missing values, the periodogram is computed with a linearly interpolated version of the data using na.interp.


[Package beyondWhittle version 1.1.1 Index]