ggcpgram: Plots a cumulative periodogram

ggcpgramR Documentation

Plots a cumulative periodogram

Description

Plots a cumulative periodogram

Usage

ggcpgram(
  ts,
  taper = 0.1,
  colour = "#000000",
  linetype = "solid",
  conf.int = TRUE,
  conf.int.colour = "#0000FF",
  conf.int.linetype = "dashed",
  conf.int.fill = NULL,
  conf.int.alpha = 0.3
)

Arguments

ts

stats::ts instance

taper

Proportion tapered in forming the periodogram

colour

Line colour

linetype

Line type

conf.int

Logical flag indicating whether to plot confidence intervals

conf.int.colour

line colour for confidence intervals

conf.int.linetype

line type for confidence intervals

conf.int.fill

fill colour for confidence intervals

conf.int.alpha

alpha for confidence intervals

Value

ggplot

Examples

## Not run: 
ggcpgram(AirPassengers)

## End(Not run)

sinhrks/ggfortify documentation built on June 30, 2024, 11:41 a.m.