shaded.tsplot: Shaded Time Series Plot

View source: R/shaded.tsplot.R

shaded.tsplotR Documentation

Shaded Time Series Plot

Description

Provides a shaded time series plot.

Usage

shaded.tsplot(x, col = 1, top = FALSE)

Arguments

x

Time series object or a time series data object.

col

The shaded color, default is 1 (black). Other options are 2 for red, 3 for green, 4 for blue, 5 for light blue, 6 for purple, 7 for yellow, and 8 for grey.

top

If top = FALSE, the shaded part will be below the time series. If top = TRUE, the shaded part will be above the time series.

See Also

color.test.

Examples

plot(spot.tsd)
shaded.tsplot(spot.tsd)
shaded.tsplot(spot.tsd, col=4)
shaded.tsplot(spot.tsd, top=TRUE, col=3)


wqmeeker/RTseries documentation built on Dec. 31, 2022, 10 a.m.