BoxPlot {fBasics} | R Documentation |
Time series box plots
Description
Produce a box plot or a box percentile plot.
Usage
boxPlot(x, col = "steelblue", title = TRUE, ...)
boxPercentilePlot(x, col = "steelblue", title = TRUE, ...)
Arguments
x |
an object of class |
col |
the color for the series. In the univariate case use just a color
name like the default, |
title |
a logical flag, by default |
... |
optional arguments to be passed. |
Details
boxPlot
produces a side-by-side standard box plot,
boxPercentilePlot
produces a side-by-side box-percentile plot.
Value
NULL
,
displays a time series plot
Examples
## data -
data(LPP2005REC, package = "timeSeries")
LPP <- LPP2005REC[, 1:6]
plot(LPP, type = "l", col = "steelblue", main = "SP500")
abline(h = 0, col = "grey")
## boxPlot -
boxPlot(LPP)
[Package fBasics version 4032.96 Index]