gg_raw_pgram {garma}R Documentation

Display raw periodogram

Description

Display the raw periodogram for a time series, and not on a log scale.

Usage

gg_raw_pgram(x, k = 1)

Arguments

x

(num) This should be a numeric vector representing the process to estimate.

k

(int) The number of Gegenbauer factors

Details

The standard "R" functions display periodograms on a log scale which can make it more difficult to locate high peaks in the spectrum at differing frequencies. This routine will display the peaks on a raw scale.

Value

A ggplot object representing the raw periodogram

Examples

data(AirPassengers)
ap <- as.numeric(diff(AirPassengers,12))
sp <- ggbr_semipara(ap)
print(sp)

[Package garma version 0.9.13 Index]