View source: R/shaded.tsplot.R
shaded.tsplot | R Documentation |
Provides a shaded time series plot.
shaded.tsplot(x, col = 1, top = FALSE)
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. |
color.test
.
plot(spot.tsd) shaded.tsplot(spot.tsd) shaded.tsplot(spot.tsd, col=4) shaded.tsplot(spot.tsd, top=TRUE, col=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.