esgplotbands | R Documentation |
Creates a plot showing time series data with confidence intervals, percentiles, and mean values.
esgplotbands(x, ...)
x |
A time series object containing the data to plot |
... |
Additional arguments passed to the plotting function |
The function creates a plot with:
Mean values as the central line
95th and 5th percentiles as outer bands
Upper and lower quartiles as inner bands
Confidence intervals based on t-tests
The plot uses a color gradient from light yellow to light green for the different bands.
A plot object
# Create sample time series
x <- ts(matrix(rnorm(1000), ncol=10), start=0, deltat=1)
# Plot with default settings
esgplotbands(x)
# Plot with custom title
esgplotbands(x, main="Custom Title")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.