BoxPlot | R Documentation |
Produce a box plot or a box percentile plot.
boxPlot(x, col = "steelblue", title = TRUE, ...)
boxPercentilePlot(x, col = "steelblue", title = TRUE, ...)
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. |
boxPlot
produces a side-by-side standard box plot,
boxPercentilePlot
produces a side-by-side box-percentile plot.
NULL
,
displays a time series plot
## data
data(LPP2005REC, package = "timeSeries")
LPP <- LPP2005REC[, 1:6]
plot(LPP, type = "l", col = "steelblue", main = "SP500")
abline(h = 0, col = "grey")
boxPlot(LPP)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.